How is the Procfile created?

I've made a connection to Heroku, swapped ssh keys but after running create, I have an app name assigned but still have no Procfile. Plan on going thru the tut line by line again tomorrow after a couple of passes today. !st tut nearly done locally just can't make the heroku connection for Git etc. Recall I am not working on vagrant. TIA.

Sorry You must be a logged in, registered user to answer a question.

Answers

Check the video at about 17:00 (http://gettingstartedwithdjango.com/en/lessons/introduction-and-launch). Just use your favourite editor. It should contain:

web: python manage.py runserver 0.0.0.0:$PORT --noreload

You have to make the Procfile yourself. It's just a simple statement telling heroku how to run your app.

This is the default Procfile: web: python manage.py runserver 0.0.0.0:$PORT --noreload

If you run into errors with the Admin page not loading static files correctly try this: web: python manage.py runserver 0.0.0.0:$PORT --noreload --insecure

Addendum: Be sure to create the Procfile with no extension. At first I made it with a .txt one thinking it was universal and Heroku did not recognize.
Vincent C Fulco on
Heroku feels like trying to program with gloves on after using a bare metal Linode VPS, will take some getting used to. Thanks!
Vincent C Fulco on