Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PostgreSQL. Versions 8.2 and up are supported.
- #
- # Install the pg driver:
- # gem install pg
- # On OS X with Homebrew:
- # gem install pg -- --with-pg-config=/usr/local/bin/pg_config
- # On OS X with MacPorts:
- # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
- # On Windows:
- # gem install pg
- # Choose the win32 build.
- # Install PostgreSQL and put its /bin directory on your path.
- #
- # Configure Using Gemfile
- # gem 'pg'
- #
- default: &default
- adapter: postgresql
- encoding: unicode
- schema_search_path: 'public,shared_extensions'
- # For details on connection pooling, see rails configuration guide
- # http://guides.rubyonrails.org/configuring.html#database-pooling
- pool: 30
- development:
- <<: *default
- database: TipHiveAPI_dev
- username: postgres
- password: postgres
- host: localhost
- # 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:
- <<: *default
- username: postgres
- password: postgres
- database: TipHiveAPI_test
- host: localhost
- production:
- <<: *default
- database: TipHiveAPI_production
- username: TipHiveAPI
- password: <%= ENV['PRODUCTION_DATABASE_PASSWORD'] %>
Add Comment
Please, Sign In to add comment