Skip to content

Instantly share code, notes, and snippets.

@oren
Created August 20, 2010 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oren/541346 to your computer and use it in GitHub Desktop.
Save oren/541346 to your computer and use it in GitHub Desktop.
require "dis"
runtime = Dis::Runtime.new(:development) do
database "mysql://root:@localhost/dis_development"
base_url "http://localhost:9292/"
# subscribe_uri "http://localhost:1265/subscribe"
# publish_uri "http://localhost:1321/publish"
log :level => :debug
end
# Sandpiper
gem 'sinatra', '1.0'
gem 'sinatra-reloader', '0.4.0.b'
gem 'grit'
gem 'less'
require 'sinatra'
require 'sinatra/reloader' if development?
require 'lib/sandpiper.rb'
require 'less'
use Sinatra::Application
run runtime.dispatcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment