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)[https://www.apache.org/licenses/LICENSE-2.0] © 2017 Clayton Liggitt