Closed bbelderbos closed 3 years ago
Check out the training on PDM Kajabi, should cover most of what you'll need.
Basically you'll need to install the Heroku toolbar and you'll need 3 files: Procfile, runtime.txt and requirements.txt.
Procfile
runtime.txt
requirements.txt
You need to add gunicorn to your requirements because that's how you run the app on Heroku.
gunicorn
On the platform we have this for the first two files:
$ more Procfile release: python manage.py migrate web: gunicorn mysite.wsgi --log-file - $ more runtime.txt python-3.9.2
Helped a lot. Site wouldn't work without Debug == True. It was hiding some issues which are now fixed. Setting DEBUG_PROPAGATE_EXCEPTIONS to True also helped.
Check out the training on PDM Kajabi, should cover most of what you'll need.
Basically you'll need to install the Heroku toolbar and you'll need 3 files:
Procfile
,runtime.txt
andrequirements.txt
.You need to add
gunicorn
to your requirements because that's how you run the app on Heroku.On the platform we have this for the first two files: