inconshreveable / dashboard-starter-sinatra

Sinatra template app for creating a Keen IO dashboard

Home Page:http://dashboard-starter-sinatra.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dashboard-starter-sinatra

A Sinatra template app for creating a Keen IO dashboard.

Usage

Clone this repository. Create a .env file in this directory that contains your Keen IO project information and API read key:

KEEN_PROJECT_ID=aaaaaaaaaaaaaaa
KEEN_READ_KEY=zzzzzzzzzzzzzzz

Install dependencies:

$ bundle install

Run the app like this:

$ foreman run bundle exec rackup

Add your own queries in public/javascripts/application.js and corresponding HTML in views/index.erb.

Deploy

This repository includes a Heroku Procfile, so deployment is a snap.

$ heroku create
# push up the keys in .env (heroku config plugin is required) 
$ heroku config:push
$ git push heroku master

About

Sinatra template app for creating a Keen IO dashboard

http://dashboard-starter-sinatra.herokuapp.com

License:Other