Skip to content

Commit

Permalink
add a config.ru for the server
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Jan 10, 2011
1 parent a9741b1 commit 1ee59c0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config.ru
@@ -0,0 +1,13 @@
require 'rubygems'

require 'extlib'

$:.unshift File.dirname(__FILE__) + '/lib'

require 'taps/config'
Taps::Config.taps_database_url = ENV['DATABASE_URL']
Taps::Config.login = ENV['TAPS_LOGIN']
Taps::Config.password = ENV['TAPS_PASSWORD']

require 'taps/server'
run Taps::Server

0 comments on commit 1ee59c0

Please sign in to comment.