Project

slugrunner

0.0
No commit activity in last 3 years
No release in over 3 years
Running application slugs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0

Runtime

 Project Readme

Running heroku-style slugs

Facilitates running slugfiles.

Provides:

  • Clean environment, isolation from machine's $PATH
  • Signal forwarding
  • Port binding validation
  • Hostname rewriting (new relic reporting)
  • Service Discovery integration (setup/start/update/stop notifications)

Options

          --slug, -s <s>:   Slug file
        --worker, -w <s>:   Worker type (default: web)
      --instance, -i <i>:   Instance number (default: 1)
  --delayed-bind, -d <i>:   Port bind allowance (default: 0)
          --ping, -p <s>:   Notify state updates
  --ping-interval, -n <i>:   Update interval in seconds (default: 30)
          --env, -e <s+>:   Append to environment
              --bash, -b:   Run interactive shell
              --help, -h:   Show this message

Sample usage

Local slug

slugrunner -s ./slug.tgz

TODO

  • write a better readme