- python >= 2.5
- pip
- virtualenv/wrapper (optional)
- foreman (gem)
- heroku (gem)
Create a virtual python environment for the project. If you're not using virtualenv or virtualenvwrapper you may skip this step.
mkvirtualenv --no-site-packages {{ project_name }}-env
virtualenv --no-site-packages {{ project_name }}-env
cd {{ project_name }}-env
source bin/activate
cd {{ project_name }}
pip install -r requirements.txt
heroku apps:create -s cedar {{ project_name}}
Add sentry addon to your heroku app, to enable exception logging (optional)
heroku addons:add sentry:developer
Edit file .env
foreman run python {{ project_name }}/manage.py syncdb
foreman start
Open browser to 127.0.0.1:5000