Create a local directory for persisent postgres data. Copy env-template
to .env
and fill in ###REQUIRED###
values. A new django secret key can be generated at https://djskgen.herokuapp.com/.
docker build -t mgrast/django-base -f Dockerfile.base .
docker-compose up
docker-compose exec django python manage.py migrate
docker-compose exec django python manage.py createsuperuser
docker-compose exec django python manage.py shell
docker-compose exec django python manage.py dbshell
docker-compose exec django python manage.py