mirror of https://github.com/CrimsonTome/tldr.git
29 lines
528 B
Markdown
29 lines
528 B
Markdown
# heroku
|
|
|
|
> Create and manage Heroku apps from the command line.
|
|
> More information: <https://www.heroku.com/>.
|
|
|
|
- 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}}`
|