-
-
Save shadowdestiny/16a7ef924cf7b9ba96859d8de87d2f25 to your computer and use it in GitHub Desktop.
Bash: Heroku bash commands
This file contains 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
# Heroku Django Commands # | |
# ---------------------- # | |
# Push local git changes to heroku | |
git push heroku master | |
# Login to heroku via toolbelt | |
heroku login | |
# View heroku processes | |
heroku ps | |
# Create a new superuser for logging into the Admin site | |
heroku run python manage.py createsuperuser | |
# Update the database with any changes made locally | |
heroku run python manage.py syncdb | |
# Show heroku log output | |
heroku logs | |
# To follow the logs... | |
heroku logs --tail | |
# Open heroku app in browser | |
heroku open | |
# Run bash commands on heroku | |
heroku run bash | |
# Run bash commands on heroku and stay in | |
heroku run bash -i -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment