mirror of https://github.com/CrimsonTome/tldr.git
29 lines
552 B
Markdown
29 lines
552 B
Markdown
# foreman
|
|
|
|
> Manage Procfile-based applications.
|
|
> More information: <https://manned.org/foreman>.
|
|
|
|
- Start an application with the Procfile in the current directory:
|
|
|
|
`foreman start`
|
|
|
|
- Start an application with a specified Procfile:
|
|
|
|
`foreman start -f {{Procfile}}`
|
|
|
|
- Start a specific application:
|
|
|
|
`foreman start {{process}}`
|
|
|
|
- Validate Procfile format:
|
|
|
|
`foreman check`
|
|
|
|
- Run one-off commands with the process's environment:
|
|
|
|
`foreman run {{command}}`
|
|
|
|
- Start all processes except the one named "worker":
|
|
|
|
`foreman start -m all=1,{{worker}}=0`
|