2017-10-07 10:02:51 +01:00
|
|
|
# foreman
|
|
|
|
|
|
|
|
> Manage Procfile-based application.
|
|
|
|
|
2017-10-07 19:54:14 +01:00
|
|
|
- Start an application with Procfile in current directory:
|
|
|
|
|
|
|
|
`foreman start`
|
|
|
|
|
|
|
|
- Start a specific application:
|
2017-10-07 10:02:51 +01:00
|
|
|
|
|
|
|
`foreman start {{process}}`
|
|
|
|
|
2017-10-07 19:54:14 +01:00
|
|
|
- Validate Procfile format:
|
|
|
|
|
|
|
|
`foreman check`
|
|
|
|
|
2017-10-07 10:02:51 +01:00
|
|
|
- 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`
|