diff --git a/.gitignore b/.gitignore index f5aa279..005a570 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ public/system **/.DS* .sass-cache/ .envrc +config/database.yml diff --git a/config/database.yml.example b/config/database.yml.example new file mode 100644 index 0000000..e799388 --- /dev/null +++ b/config/database.yml.example @@ -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