Created
April 11, 2014 04:58
-
-
Save amitittyerah/10441593 to your computer and use it in GitHub Desktop.
Django deployment with Heroku
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install django-toolbelt | |
nano Procfile | |
foreman | |
foreman start | |
pip freeze > requirements.txt | |
sudo pip install dj_database_url | |
heroku create | |
git init | |
git add -A | |
git commit -m '' | |
git push heroku master | |
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U | |
heroku open | |
heroku run <cmd> | |
heroku pg:reset DATABASE_URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment