mirror of
https://github.com/wahyd4/forego.git
synced 2026-08-09 05:07:05 +10:00
76b295e7f5cf42cfb96bb68eb31c804bf98419ce
Read the `PORT` from the system environment if it's present. This is related to #44 and will make the port read order this: 1. `-p` flag. 2. `PORT` in the `.env` file 3. `PORT` environment variable 4. 5000 as default port
forego
Foreman in Go.
Installation
OS X (Homebrew)
brew install forego
Precompiled Binaries
Compile from Source
$ go get -u github.com/ddollar/forego
Usage
$ cat Procfile
web: bin/web start -p $PORT
worker: bin/worker queue=FOO
$ forego start
web | listening on port 5000
worker | listening to queue FOO
Languages
Go
91.9%
Ruby
3.3%
Shell
3%
Makefile
1.1%
Procfile
0.7%