With the assumption that Docker is installed and running, build the project for running locally using:
docker-compose -f local.yml build
Then run the stack with:
docker-compose -f local.yml up
This will start the project with the usual Django, DRF endpoints available
http://localhost:8000/
http://localhost:8000/api
http://localhost:8000/admin
Commands can be run against the project using the django container, for example to create a superuser:
docker-compose -f local.yml run --rm django python manage.py createsuperuser
- To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.
docker-compose -f local.yml run --rm django pytest