21.1. Deploy Heroku
21.1.1. Procfile
myproject/Procfile
Add to myproject/Procfile
file:
release: python manage.py migrate --noinput
web: gunicorn myproject.wsgi
21.1.2. Runtime
myproject/runtime.txt
Add to myproject/runtime.txt
file:
python-3.12.2