Guest User

Untitled

a guest
Sep 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. # PostgreSQL. Versions 8.2 and up are supported.
  2. #
  3. # Install the pg driver:
  4. # gem install pg
  5. # On OS X with Homebrew:
  6. # gem install pg -- --with-pg-config=/usr/local/bin/pg_config
  7. # On OS X with MacPorts:
  8. # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
  9. # On Windows:
  10. # gem install pg
  11. # Choose the win32 build.
  12. # Install PostgreSQL and put its /bin directory on your path.
  13. #
  14. # Configure Using Gemfile
  15. # gem 'pg'
  16. #
  17. default: &default
  18. adapter: postgresql
  19. encoding: unicode
  20. schema_search_path: 'public,shared_extensions'
  21. # For details on connection pooling, see rails configuration guide
  22. # http://guides.rubyonrails.org/configuring.html#database-pooling
  23. pool: 30
  24.  
  25. development:
  26. <<: *default
  27. database: TipHiveAPI_dev
  28. username: postgres
  29. password: postgres
  30. host: localhost
  31.  
  32. # Warning: The database defined as "test" will be erased and
  33. # re-generated from your development database when you run "rake".
  34. # Do not set this db to the same as development or production.
  35. test:
  36. <<: *default
  37. username: postgres
  38. password: postgres
  39. database: TipHiveAPI_test
  40. host: localhost
  41.  
  42. production:
  43. <<: *default
  44. database: TipHiveAPI_production
  45. username: TipHiveAPI
  46. password: <%= ENV['PRODUCTION_DATABASE_PASSWORD'] %>
Add Comment
Please, Sign In to add comment