Here is a set of instructions on how to get a Django app running on Heroku. This assumes you have a repo in github already.
First, create a new app in Heroku and connect the repo to github:
Next, you can attach a Postgres database for free executing the following command:
Next, you need to go back to the Heroku Admin Panel And Create A Database. I am using the dev version so my database is still free.
To tell django about your database, I recommend using the
dj-database-url package. This can be done by inserting the following lines of code into you
Tailing Heroku Log Files
To tail the current Heroku log files of your app, execute the following command
Executing A Django Command
To execute a Django
manage.py command, you can execute the following command
Getting to A Bash Shell
You can get to a bash shell pretty easily by executing the following command:
And you can get to a Python REPL with Django settings by executing the following command: