-
Install Docker and Docker Compose
-
Clone the repository
- Note for Windows: Ensure
core.autocrlfis set tofalsein git config before cloning to avoid line ending issuesgit config --global core.autocrlf false
git clone https://github.com/robocupjunioraustralia/RCJA_Registration_System.git - Note for Windows: Ensure
-
Setup the
.envfile by creating a copy of.env.dev.sampleand naming it.env -
Start the app
docker-compose up -d -
Initialise Django
docker-compose exec web manage.py migrate docker-compose exec web manage.py collectstatic docker-compose exec web manage.py createsuperuser
CI is currently provided by github actions. To see if tests pass, you can look at the actions menu (next to the pull requests button), or the little cross or tick next to your commit. Code coverage is visible in the action, or, you can look at the coverage report at codecov.