A project template for Django 1.6.2 with production settings to easily deploy on Heroku with statics on S3 made for Prowl.
- A Heroku account, and Foreman installed
- Git
- virtualenv
- An AWS account that supports S3 & Route 53
$ mkdir hellodjango && cd hellodjango
$ virtualenv venv --distribute
$ source venv/bin/activate
$ pip install django && south
$ django-admin.py startproject --template=https://github.com/Montana/herokuin.git --extension=py,rst,html hellodjango .
$ pip install -r requirements/local.txt
$ heroku create
$ git push heroku master
$ heroku config:set DJANGO_SETTINGS_MODULE=hellodjango.settings.production
$ heroku config:set SECRET_KEY=my_random_secret_key
$ heroku config:set AWS_STORAGE_BUCKET_NAME=my_application_bucket
$ heroku config:set AWS_ACCESS_KEY_ID=my_key_id
$ heroku config:set AWS_SECRET_ACCESS_KEY=my_secret_key
$ heroku ps:scale web=1
$ heroku run python hellodjango/manage.py collectstatic
$ heroku open