riemann-dash/example/config.rb

18 lines
530 B
Ruby
Raw Normal View History

# Serve HTTP traffic on this port
set :port, 4567
2012-02-18 23:22:24 +00:00
riemann_base = '.'
riemann_src = "#{riemann_base}/lib/riemann/dash"
2012-02-18 23:22:24 +00:00
# Add custom controllers in controller/
2013-03-11 16:05:02 +00:00
config.store[:controllers] = ["#{riemann_src}/controller"]
2012-02-18 23:22:24 +00:00
# Use the local view directory instead of the default
2013-03-11 16:05:02 +00:00
config.store[:views] = "#{riemann_src}/views"
# Specify a custom path to your workspace config.json
2013-03-11 16:05:02 +00:00
config.store[:ws_config] = "#{riemann_base}/config/config.json"
# Serve static files from this directory
2013-03-11 16:05:02 +00:00
config.store[:public] = "#{riemann_src}/public"