Permalink
Browse files

Defaulting to sqlite3 for easier development.

Signed-off-by: rick <technoweenie@gmail.com>
  • Loading branch information...
1 parent bdc6c58 commit 950a69473e6892bc1844e8a9e2629406e2fda55a @jqr jqr committed with technoweenie Apr 3, 2009
Showing with 4 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +3 −1 config/seinfeld.default.rb
View
@@ -3,3 +3,4 @@ config.rb
tmp
config/seinfeld_user.yaml
config/seinfeld.rb
+*.sqlite3
@@ -1,4 +1,6 @@
-DataMapper.setup(:default, 'mysql://localhost/seinfeld')
+SINATRA_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
+
+DataMapper.setup(:default, "sqlite3://#{SINATRA_ROOT}/development.sqlite3")
Seinfeld::User.github_login = ''
Seinfeld::User.github_password = ''

0 comments on commit 950a694

Please sign in to comment.