Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7dc34400a6
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.525 kB
$: << File.join(File.dirname(__FILE__), "lib")
require 'bundler/setup'
require 'gdash'
set :run, false
config = YAML.load_file(File.expand_path("../config/gdash.yaml", __FILE__))
# If you want basic HTTP authentication
# include :username and :password in gdash.yaml
if config[:username] && config[:password]
use Rack::Auth::Basic do |username, password|
username == config[:username] && password == config[:password]
end
end
run GDash::SinatraApp.new(config[:graphite], config[:templatedir], config[:options])
Jump to Line
Something went wrong with that request. Please try again.