[Answered ]-Issues Running Heroku Django Tutorial

1👍

Make sure your Procfile is ASCII Text:

file *

I think some people were having issues with unicode:
Problems getting my sinatra based app to work on Heroku

Also, perhaps you already have an existing Heroku project called “stormy-earth-5394” and it is trying to sync the git repo. It might be worth deleting the dummy project and creating a new Heroku project:

heroku destroy --app stormy-earth-5394
heroku create

And then re-trying:

git push heroku master
heroku ps:scale web=1

2👍

I have found that ‘heroku logs’ usually works well to debug these issues.

I think we should try it with gunicorn. I tried it on my local machine and it worked ok, and then deployed to a sample app and it works fine (http://arcane-shore-6254.herokuapp.com).

Step 1: Add ‘gunicorn’ to your requirements.txt

Step 2: Within your Procfile, change your ‘web’ process to:

web: gunicorn hellodjango.wsgi:application

Step 3: Commit and Redeploy. See if that works 🙂

-1👍

You might want to take a look at the responses to this question.

In particular, you should probably think about whether you’re in the right directory or whether manage.py should be invoked with hellodjango in the path.

👤friism

Leave a comment