Foreman in Crystal
This is very much a work in progress.
Clone this repo
git clone https://github.com/arktisklada/crank.git
Symlink /usr/bin/crank
(or a folder in your path) to bin/crank
in this cloned repo.
With the following Procfile
:
web: bin/server 7000
worker: bin/worker queue=FOO
Run crank
17:12:48 web | listening on port 7000
17:12:48 worker | listening to queue FOO
Inspired by the original Foreman by David Dollar (@ddollar).
(Apache 2.0)[http://www.apache.org/licenses/LICENSE-2.0] © 2017 Clayton Liggitt