[Python] Django Heroku Deployment and suggest for future course

To make django heroku deploymen successful:

  1. you need a requirements.txt to make heroku realize this is a python app. To do this, in terminal run pip freeze > requirements.txt
  2. you may need to modify the Procfile to web: gunicorn vidly.wsgi --log-file -

Suggest for future courses:
More django web development plz!

1 Like

I did both of the suggestions mentioned and it looked like the app was deployed and then I get an application error.

Only a beginner here and I can’t see any way to get past this.
It was working from the local server no problem. No errors. There were not that many steps to get on to Heroku and yet it didn’t work.

What about if I want to put it onto my own hosting instead? Is that possible?