snippetbashTip
heroku — Create and manage Heroku apps. More information: <https://devcenter.heroku.com/articles/heroku-cli#g
Viewed 0 times
createcommandandappsclimanageheroku
Problem
How to use the
heroku command: Create and manage Heroku apps. More information: <https://devcenter.heroku.com/articles/heroku-cli#get-started-with-the-heroku-cli>.Solution
heroku — Create and manage Heroku apps. More information: <https://devcenter.heroku.com/articles/heroku-cli#get-started-with-the-heroku-cli>.Log in to your Heroku account:
heroku loginCreate a Heroku app:
heroku createShow logs for an app:
heroku logs --app {{app_name}}Run a one-off process inside a dyno (Heroku virtual machine):
heroku run {{process_name}} --app {{app_name}}List dynos (Heroku virtual machines) for an app:
heroku ps --app {{app_name}}Permanently destroy an app:
heroku destroy --app {{app_name}}Code Snippets
Log in to your Heroku account
heroku loginCreate a Heroku app
heroku createShow logs for an app
heroku logs --app {{app_name}}Run a one-off process inside a dyno (Heroku virtual machine)
heroku run {{process_name}} --app {{app_name}}List dynos (Heroku virtual machines) for an app
heroku ps --app {{app_name}}Context
tldr-pages: common/heroku
Revisions (0)
No revisions yet.