mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 12:42:31 +00:00
34 lines
600 B
Plaintext
34 lines
600 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# heroku
|
|
|
|
> Create and manage Heroku apps.
|
|
> More information: <https://www.heroku.com/>.
|
|
|
|
- Log in 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}}`
|