What should go in my Procfile for a Django application on Heroku?
I tried:
web: python appname.py
because I found an example like that for python apps.
Further searching didn't make things any clearer except for that I might need to use gunicorn instead of python. I found various posts suggesting various formats such as:
web gunicorn
web:gunicorn
web: gunicorn
I have no clue what should come after gunicorn, some posts have the programming language, some have an IP address, some have various other things.
Some suggest running:
heroku ps:scale web=1
but that results in an error:
Scaling dynos... !
! Couldn't find that process type (web).
I just haven't got a clue and don't know where to turn.
Since posting I have watched some videos about this and tried:
web: gunicorn appname.wsgi
in my Procfile but it still doesn't work, still resulting in:
at=error code=H14 desc="No web processes running"