git clonethis repo- Install docker
- Check the version by
docker --version - Make sure Docker desktop is running
cdinto/backend. This is the project root.- Create an
.env.devfile to store the environment variables which can be copied over (Check the Docker Setup for Development section in the Release Notes)
- Open a terminal in the project's root directory, to build and run the container
make build
- You can browse the Swagger docs to view the api once authenticated
- The Django app will be hosted on
http://0.0.0.0:8000/
- Open a second terminal and run:
make test
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
In case you have changes to migrate:
make migration
make migrate