Nox is a process manager for Procfiles written in Crystal. The reason for its existence is so that Lucky can ship with a built-in process runner instead of requiring one to be installed.
-
Add the dependency to your
shard.yml
:dependencies: nox: github: matthewmcgarvey/nox version: ">= 0.2.0, < 0.3.0"
-
Run
shards install
- Clone the repo
- Run
shards build nox
- Run
mv bin/nox /usr/local/bin
or to a different location that is on your$PATH
nox --help # print help info
nox start # run Procfile in current directory
nox start -f Procfile.dev # run Procfile.dev in current directory
require "nox"
Nox.run("Procfile") # runs the Procfile and exits when the processes are all done or the program is interrupted (ctrl-c)
- Fork it (https://github.com/matthewmcgarvey/nox/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Matthew McGarvey - creator and maintainer