20.1. Deploy Heroku

20.1.1. Procfile

  • myproject/Procfile

Add to myproject/Procfile file:

release: python manage.py migrate --noinput
web: gunicorn myproject.wsgi

20.1.2. Runtime

  • myproject/runtime.txt

Add to myproject/runtime.txt file:

python-3.13.0