Permalink
Browse files

groove-ized

  • Loading branch information...
1 parent 47e2424 commit febd0460583fb6540e3818b2007a9c413f9e3ba2 @croaky committed Dec 31, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 config.ru
View
@@ -1,3 +1,8 @@
require 'groove'
+Groove.config = { :db => ENV['DATABASE'] || 'shorty',
+ :db_url => ENV['DATABASE_URL'] || 'localhost',
+ :db_user => ENV['DATABASE_USER'],
+ :db_password => ENV['DATABASE_PASSWORD'],
+ :hoptoad => ENV['HOPTOAD'] }
require 'app'
run Sinatra::Application

0 comments on commit febd046

Please sign in to comment.