To run the API inside Docker, follow the instructions in the “Quickstart” document.
On the host#
Create environment variables from the stencil file.
Install Python dependencies.
Start the Django dev server.
just api/dj runserver
You can view the custom administration views at the
/admin/ endpoint. You can
use the username ‘deploy’ and password ‘deploy’ to log in.
All configuration is performed through environment variables. See the
env.template file for a comprehensive list of all environment variables. The
ones with sane defaults have been commented out.
Pipenv will automatically load
.envfiles when running commands with
Docker Compose will automatically load
.env.dockerfiles inside the container.