Skip to content

joakimk/dboard_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

There is an example deployed at: https://dboard-example.heroku.com

This is an example of using dboard.

Setting up a dashboard using dboard

Get a heroku account at http://www.heroku.com/ and add a credit card to authorize the account. We need memcached, which is free, but requires an authorized account.

NOTE: This is work in progress. For example, there is nothing here about security yet. I've not tested the entire instruction from scratch yet.

Get a basic repo:

git clone https://github.com/joakimk/dboard_example dashboard
cd dashboard
rm -rf .git
git init
git add .
git commit -m "Initial commit"

Create a heroku app:

bundle
heroku create some-dashboard -s bamboo-mri-1.9.2 

Go to heroku and add the free 5mb memcached option (addons -> memcached: learn more -> add).

Addons

Memcache

Add

Deploy

git push heroku master

Ensure it loads (your url will be something like http://some-dashboard.heroku.com).

Report some data:

ruby cpu_usage_reporter.rb

Check your dashboard, it should now print your local CPU usage.

This example does not use twitter bootstrap, but it's a simple way to get some structure. We use a modified version of twitter bootstrap 2 for our dashboard. 32 column bootstrap css for 1920 x 1080 displays.

About

Setting up a dashboard using dboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published