Skip to content

Instantly share code, notes, and snippets.

@fixermark
Created January 30, 2010 14:37
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 fixermark/290574 to your computer and use it in GitHub Desktop.
Save fixermark/290574 to your computer and use it in GitHub Desktop.
require 'sinatra/base'
class Server < Sinatra::Base
set :logging,true
set :root, File.dirname(__FILE__)
set :public, File.dirname(__FILE__)+ '/public'
end
Server.run! :host => 'localhost', :port => 3001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment