Created
January 25, 2015 20:58
-
-
Save fernandogrd/d1ea2cd80b31247eeae9 to your computer and use it in GitHub Desktop.
Running Django south migrations after codeship deploy to 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
# Add this as a custom deploy script on Codeship, and make sure it is after Heroku Deployment | |
heroku_run './manage.py syncdb' name-of-heroku-app | |
heroku_run './manage.py migrate' name-of-heroku-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment