Run#
Service#
Docker#
To run the API inside Docker, follow the instructions in the “Quickstart” document.
On the host#
Prerequisites#
Steps#
Create environment variables from the stencil file.
just env
Install Python dependencies.
just install
Start the Django dev server.
just dj runserver
Django admin#
You can view the custom administration views at the /admin/ endpoint. You can use the username ‘deploy’ and password ‘deploy’ to log in.
Configuration#
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 withpipenv run.Docker Compose will automatically load
.env.dockerfiles inside the container.