-
Install Docker and Docker Compose
-
Clone the repository
- Note for Windows: Ensure
core.autocrlf
is set tofalse
in 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
.env
file by creating a copy of.env.dev.sample
and 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
For detailed instructions and alternate deployment methods see DEPLOY.md.
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.