mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-30 22:55:29 +02:00
heroku: add page (#1112)
This commit is contained in:
parent
d43187b364
commit
c09702e564
1 changed files with 27 additions and 0 deletions
27
pages/common/heroku.md
Normal file
27
pages/common/heroku.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue