Stoplight Admin
A simple administration interface for stoplight. Monitor the status, failures, and invocations of your stoplights. Change stoplight colors, or lock them in either red or green state.
Configuration
This project is packaged as a Ruby gem so that you can easily embed it in your own code containing the configuration details for your stoplight data store.
First you'll need a Gemfile:
source 'https://rubygems.org'
gem 'stoplight-admin', '~> 0.1.0'
Run Bundler to install the dependencies:
$ bundle install
Lastly we need to make our (tiny) application. Here's a typical example using a local Redis data store:
# app.rb
require 'sinatra'
require 'sinatra/stoplight_admin'
REDIS_URL = 'redis://localhost:6379'
set :data_store, Stoplight::DataStore::Redis.new(url: REDIS_URL)
Usage
$ bundle exec ruby app.rb
Credits
Stoplight is brought to you by @camdez and @tfausak from @OrgSync.