prod description
$ cp env.example .env
Replace the default values by the ones in Slack.
$ cd docker/
$ docker-compose build
$ docker-compose up
This will mount the code inside the container. It starts a postgres DB, and a separate container for the migrations.
In order to use the Django admin locally, you will need a super user. After having the application up and running:
$ docker-compose exec response python manage.py createsuperuser
And follow the prompts.
docker-compose exec response python manage.py
If you want to start fresh, run:
$ docker-compose down
$ docker volume rm response_postgres_data