tldr/pages/common/heroku.md

29 lines
529 B
Markdown
Raw Permalink Normal View History

2016-10-16 11:55:03 +01:00
# heroku
> Create and manage Heroku apps from the command-line.
> More information: <https://www.heroku.com/>.
2016-10-16 11:55:03 +01:00
- Log in to your Heroku account:
2016-10-16 11:55:03 +01:00
`heroku login`
- Create a Heroku app:
2016-10-16 11:55:03 +01:00
`heroku create`
- Show logs for an app:
`heroku logs --app {{app_name}}`
- Run a one-off process inside a dyno (Heroku virtual machine):
2016-10-16 11:55:03 +01:00
`heroku run {{process_name}} --app {{app_name}}`
- List dynos (Heroku virtual machines) for an app:
2016-10-16 11:55:03 +01:00
`heroku ps --app {{app_name}}`
- Permanently destroy an app:
`heroku destroy --app {{app_name}}`