1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/heroku.md

28 lines
481 B
Markdown
Raw Normal View History

2016-10-16 16:25:03 +05:30
# heroku
> Create and manage Heroku apps from the command line.
- Login to your heroku account:
`heroku login`
- Create a heroku app:
`heroku create`
- Show 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}}`