[Solved]-Deploying existing Django app on Heroku

19👍

Chris,

Specifically for Django heroku expects you to check in the directory that your Django project lives in (this directory should live at the same level as your requirements.txt). An ls might look something like:

$ ls
requirements.txt appfolder
$ ls appfolder
__init__.py   manage.py   settings.py    urls.py

This should allow you to deploy an existing app then configure your Procfile as needed.

1👍

I have a sample Django application that I’ve deployed to Heroku here:
https://github.com/synedra/django-linkedin-simple

I have a blog post on deploying this system to heroku here:
http://www.princesspolymath.com/princess_polymath/?p=511

Note that my post was more about getting the auth working. The Heroku Django tutorial itself (linked from my blog post) should be more than sufficient. You might walk through that and then see where your setup differs.

Leave a comment