Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding the database.yml file

  • Loading branch information...
commit 3780af705bf8084b00017ddebd65eaeee653c4b4 1 parent 617c45e
@tenderlove authored
Showing with 26 additions and 2 deletions.
  1. +1 −2  .gitignore
  2. +25 −0 config/database.yml
View
3  .gitignore
@@ -2,5 +2,4 @@
.DS_Store
TAGS
tags
-config/database.yml
-log/*
+log/*
View
25 config/database.yml
@@ -0,0 +1,25 @@
+# SQLite version 3.x
+# gem install sqlite3-ruby (not necessary on OS X Leopard)
+development:
+ adapter: postgresql
+ database: rpan_development
+ encoding: unicode
+ username: rubypan
+ pool: 5
+ timeout: 5000
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ adapter: postgresql
+ database: rpan_test
+ encoding: unicode
+ username: postgres
+ pool: 5
+ timeout: 5000
+
+production:
+ adapter: postgresql
+ database: rubypan
+ username: rubypan
Please sign in to comment.
Something went wrong with that request. Please try again.