- Docker Engine 1.13.1+
- Docker Compose 1.10.0+
-
Edit the
DATABASE_URL
insrc/pycontw2016/settings/local.env
(Copy fromlocal.sample.env
). Use the Postgres username, password, database name, and port configured in./docker-compose-dev.yml
.DATABASE_URL=postgres://postgres:secretpostgres@db:5432/pycontw2016
-
Simply run the following command to install all dependencies, activate a containerized Postgres server, and run the Django server (
ctrl+c
to stop)../enter_dev_env.sh