Skip to content

Inderjeet26/batsd-dash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batsd-dash

Configurable dashboard for batsd-server.

Install

To install batsd-dash, simply install the gem

gem install batsd-dash

Configuration

Here is a sample rackup file (config.ru):

require 'batsd-dash'

# set batsd server setting
BatsdDash::ConnectionPool.settings = { host: 'localhost', port: 8127, pool_size: 4}

# run the app
run BatsdDash::App

Rack is very powerful. You can password protect your batsd-dash instance by using Rack::Auth::Basic or Rack::Auth::Digest::MD5.

Development

We use Sass for CSS within this project. If you make any changes to the Sass files, ensure you recompile the CSS. This is done by running:

compass compile --force --output-style compact --environment production --sass-dir lib/batsd-dash/sass --css-dir lib/public/css

Additionally, it is highly recommended you use thin for development since this app uses EventMachine.

About

Sinatra-based dash app for batsd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published