Launch the local Docker compose network:
docker-compose up
Create a superuser account from the Django container:
docker exec -it $(docker ps -f "name=reverie_reverie" -q) /bin/sh
[/code] pipenv run python manage.py createsuperuser --settings reverie.settings.docker
Try logging in at http://reverie.docker.localhost:8000/account/login
Create a production settings file named reverie/settings/prod.py
and configure:
EMAIL_BACKEND
- DocumentationTWO_FACTOR_SMS_GATEWAY
- Documentationzappa deploy prod
zappa manage prod migrate
zappa certify prod
zappa invoke --raw prod "from django.contrib.auth.models import User; User.objects.create_superuser('username', 'email@domain.tld', 'password')" ;