Skip to content

Instantly share code, notes, and snippets.

@fernandogrd
Created January 25, 2015 20:58
Show Gist options
  • Save fernandogrd/d1ea2cd80b31247eeae9 to your computer and use it in GitHub Desktop.
Save fernandogrd/d1ea2cd80b31247eeae9 to your computer and use it in GitHub Desktop.
Running Django south migrations after codeship deploy to heroku
# 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