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:
parent
164e550f19
commit
e41349c144
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ public/system
|
||||
**/.DS*
|
||||
.sass-cache/
|
||||
.envrc
|
||||
config/database.yml
|
||||
|
||||
28
config/database.yml.example
Normal file
28
config/database.yml.example
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user