From f434c6ebfa9cf8c050a7b5c8e4f465b6d57cd0c2 Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Sat, 7 Oct 2017 02:02:51 -0700 Subject: [PATCH 1/4] foreman --- pages/linux/foreman.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/foreman.md diff --git a/pages/linux/foreman.md b/pages/linux/foreman.md new file mode 100644 index 000000000..a00e81b6f --- /dev/null +++ b/pages/linux/foreman.md @@ -0,0 +1,15 @@ +# foreman + +> Manage Procfile-based application. + +- Start an application: + +`foreman start {{process}}` + +- 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` From e0c5f8cc4521fafa6ea74decc38ca9fdce73b225 Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Sat, 7 Oct 2017 11:54:14 -0700 Subject: [PATCH 2/4] Updated docs --- pages/linux/foreman.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/linux/foreman.md b/pages/linux/foreman.md index a00e81b6f..f4dace529 100644 --- a/pages/linux/foreman.md +++ b/pages/linux/foreman.md @@ -2,10 +2,18 @@ > Manage Procfile-based application. -- Start an application: +- Start an application with Procfile in current directory: + +`foreman start` + +- Start a specific application: `foreman start {{process}}` +- Validate Procfile format: + +`foreman check` + - Run one-off commands with the process's environment: `foreman run {{command}}` From 093886e587087bf0f148716a75e65eefcaf0c425 Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Sat, 7 Oct 2017 16:39:03 -0700 Subject: [PATCH 3/4] Add specific Procfile option for foreman --- pages/linux/foreman.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/foreman.md b/pages/linux/foreman.md index f4dace529..49f5c010a 100644 --- a/pages/linux/foreman.md +++ b/pages/linux/foreman.md @@ -6,6 +6,10 @@ `foreman start` +- Start an application with a specified Procfile: + +`foreman start -f {{Procfile}}` + - Start a specific application: `foreman start {{process}}` From 80a1fa5ef3dbbf90a90fd991f1684f36505b5e67 Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Sat, 14 Oct 2017 20:58:16 -0700 Subject: [PATCH 4/4] Updated foreman grammar --- pages/linux/foreman.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/foreman.md b/pages/linux/foreman.md index 49f5c010a..7b88b1d21 100644 --- a/pages/linux/foreman.md +++ b/pages/linux/foreman.md @@ -1,8 +1,8 @@ # foreman -> Manage Procfile-based application. +> Manage Procfile-based applications. -- Start an application with Procfile in current directory: +- Start an application with the Procfile in the current directory: `foreman start`