nox~crystal-loot

Procfile-based process manager written in Crystal procfile
0.2.3 Latest release released
crystal-loot/nox
18 2 3
crystal-loot

nox

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.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      nox:
        github: matthewmcgarvey/nox
        version: ">= 0.2.0, < 0.3.0"
    
  2. Run shards install

Command Line Installation

  • Clone the repo
  • Run shards build nox
  • Run mv bin/nox /usr/local/bin or to a different location that is on your $PATH

Command Line Usage

nox --help # print help info

nox start # run Procfile in current directory

nox start -f Procfile.dev # run Procfile.dev in current directory

Usage

require "nox"

Nox.run("Procfile") # runs the Procfile and exits when the processes are all done or the program is interrupted (ctrl-c)

Contributing

  1. Fork it (https://github.com/matthewmcgarvey/nox/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

nox:
  github: crystal-loot/nox
  version: ~> 0.2.3
License MIT
Crystal >= 1.0.0

Authors

Dependencies 0

Development Dependencies 2

  • ameba 1.5.0
    {'github' => 'crystal-ameba/ameba', 'version' => '1.5.0'}
  • spectator ~> 0.11.3
    {'gitlab' => 'arctic-fox/spectator', 'version' => '~> 0.11.3'}

Dependents 2

Similar shards

Last synced .
search fire star recently