1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Remove database config and add example.

This commit is contained in:
Dan Barber 2014-12-09 16:02:06 +00:00
parent 164e550f19
commit e41349c144
2 changed files with 29 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ public/system
**/.DS*
.sass-cache/
.envrc
config/database.yml

View File

@ -0,0 +1,28 @@
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: postgresql
host: localhost
database: danbarberphoto-dev
username: danbarberphoto
# 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
host: localhost
database: danbarberphoto-test
username: danbarberphoto
production:
adapter: postgresql
host: localhost
database: danbarberphoto
username: danbarberphoto
password: {put password here}
pool: 5
timeout: 5000