cookiecutter-django/{{cookiecutter.repo_name}}
Daniel Greenfeld b094ee1010 Merge pull request #30 from toffer/fix-static-settings
Fix static paths in settings.py.
2013-10-15 13:43:12 -07:00
..
{{cookiecutter.repo_name}} Merge pull request #30 from toffer/fix-static-settings 2013-10-15 13:43:12 -07:00
docs Update cookiecutter vars in sphinx files. 2013-10-09 13:05:10 -07:00
requirements fix the django-model-utils 2013-09-22 15:03:33 +02:00
CONTRIBUTORS.txt Repo contributors should start with project author 2013-08-20 10:07:49 -04:00
LICENSE.rst Update cookiecutter vars in sphinx files. 2013-10-09 13:05:10 -07:00
Procfile via @natea set the python path in the procfile, and use foreman to start the server 2013-10-03 10:13:30 +02:00
README.rst Removed "TODO" to automate script. 2013-10-04 11:40:56 -07:00
requirements.txt Post @jezdez cleanup 2013-09-17 14:19:31 +02:00

{{cookiecutter.project_name}}
==============================

{{cookiecutter.description}}


LICENSE: BSD

Deployment
------------

Run these commands to deploy the project to Heroku:

.. code-block:: bash

    heroku create
    heroku addons:add heroku-postgresql:dev
    heroku addons:add pgbackups
    heroku addons:add sendgrid:starter
    heroku addons:add memcachier:dev
    heroku pg:promote HEROKU_POSTGRESQL_COLOR
    heroku config:add DJANGO_CONFIGURATION=Production
    heroku config:add DJANGO_SECRET_KEY=RANDOM_SECRET_KEY
    heroku config:add DJANGO_AWS_ACCESS_KEY_ID=YOUR_ID
    heroku config:add DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_KEY
    heroku config:add DJANGO_AWS_STORAGE_BUCKET_NAME=BUCKET
    git push heroku master
    heroku run python {{cookiecutter.repo_name}}/manage.py syncdb --noinput --settings=config.settings
    heroku run python {{cookiecutter.repo_name}}/manage.py migrate --settings=config.settings
    heroku run python {{cookiecutter.repo_name}}/manage.py collectstatic --settings=config.settings