foreman-gui
Version:
Console based GUI that builds you a Procfile usable with any foreman implementation
42 lines (22 loc) • 1.01 kB
Markdown
# Foreman-Gui
Foreman-Gui is a nifty command line utility for generating Procfiles. Foreman-Gui works with all Foreman implementations.

## Install
Install the command line tool
$ npm install -g foreman-gui
## Usage
Foreman-gui has a very simple API. It only takes one parameter - the `FullProcfile` location. `FullProcfile` is a file where all your servies are defined like in a normal `Procfile`. `Procfile` is generated from your `FullProcfile`.
Runs Foreman-gui with the target file `FullProcfile`
$ fmg
Runs Foreman-gui with a custom target file.
$ fmg custom_procfile_location
After you have generated the Procfile, start foreman normally.
$ foreman
Or using node-foreman
$ nf
### FullProcfile
The `FullProcfile` format is a simple `key : command` format:
web: node web_server.js
api: node api_server.js
log: node log_server.js
Each line should contain a separate process.