Last active
July 12, 2022 15:39
-
-
Save 23maverick23/5acc25a004680b4f2038 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
good, thank!