Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Codrspace deployment for heroku
Install rvm (ruby community equivalent of virtualenv):
- bash < <(curl -s
Install ruby 1.9.2:
- rvm install 1.9.2 && rvm use 1.9.2 --default
- gem install heroku
- heroku create --stack cedar
- Automatically adds a git remote called 'heroku'
- Make sure to have a requirements.txt
- This causes heroku to detect the app as Python
- Move django project into subdirectory
- commit files
- git push heroku master
- Must use virtualenv and python 2.7
- Had problems installing requirements directly from a git repo:
- Sync db
- heroku run python main_app/ syncdb

Luckily, you don't even have to mess with rvm and such for the heroku toolbelt:


durden commented Oct 1, 2011

Nice! Wish I would have seen that sooner... haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment