Heroku Commands
Mon Jun 14 2021 12:11:52 GMT+0000 (UTC)
Saved by
@hisam
#heroku
#nodejs
#commandline
# Push the commit and update the deployed version on Heroku
git push heroku main
# Open the app in the browser (from terminal)
heroku open
#fetch heroku logs
heroku logs
#specify number of logs
heroku logs -n 200
#find all your fucking heroku deployment errors then cry yourself to sleep
heroku logs --tail
# Open the terminal in the app dyno in Heroku
heroku run bash
# Run a file
node seeds/index.js
content_copyCOPY
Heroku is terrifying, here's some commands
Comments