This project is set up to run on Heroku out of the box.
Sign up for Heroku, install the toolbelt, and log in as described in Heroku's "Getting Started" guide.
Create an app on Heroku by running
heroku create --stack cedar
.Add a free shared database by running
heroku addons:add shared-database:5mb
.Set up a few environment variables:
heroku config:add PYTHONPATH=. heroku config:add DJANGO_SETTINGS_MODULE=settings.heroku
Create the database tables by running
heroku run django-admin.py syncdb
.Prepare the database for the loaded data by running
heroku run scripts/delete_content_types.py
.Load the demo data by running
heroku run django-admin.py loaddata demo.db.json
.Push the code to Heroku by running
git push heroku master
.Start the webserver by running
heroku ps:scale web=1
.