octoblu / gateblu-forever

Gateblu using forever to run devices in their own processes
http://gateblu.octoblu.com
MIT License
2 stars 3 forks source link

gateblu-forever

Implementation of Gateblu that uses forever to manage device processes.

Build Status Build status Code Climate Test Coverage npm version Gitter

Gateblu-Forever requires a meshblu.json to start.

Install

npm install -g gateblu-forever

Config

Sample meshblu.json

{
  "server": "meshblu.octoblu.com",
  "port": "80",
  "devicePath": "devices",
  "tmpPath": "tmp",
  "uuid": "c4110691-69fd-11e4-b75c-63db18512b02",
  "token": "0kmpejq8ul434n29pbti61d2q4vg3nmi"
}

Usage

gateblu-service

Debug Output

DEBUG=* gateblu-service

Skip Connector Install

gateblu-service --skip-install

You may also use environment variables

GATEBLU_SKIP_INSTALL=true gateblu-service