Start a local Redis server.
python3 -m venv eventphoauth-env
source eventphoauth-env/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
docker-compose -f docker-compose.dev.yml up
Add PostgreSQL-Addon and Redis-Addon.
git push heroku master
heroku config:set DEBUG=0
heroku config:set SECRET_KEY=<long securely random string>
heroku run python manage.py migrate
heroku restart
Copy env.example
to .env
and adjust values.
docker-compose up --build
The server will listen by default on port 8000.
There's an admin interface at /admin/
. You can create admin users like this:
python manage.py createsuperuser