Guest User

Untitled

a guest
Feb 16th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 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 Mac OS X with macports:
  6. # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
  7. # On Windows:
  8. # gem install pg
  9. # Choose the win32 build.
  10. # Install PostgreSQL and put its /bin directory on your path.
  11. #
  12. # Configure Using Gemfile
  13. # gem 'pg'
  14. #
  15. development:
  16. adapter: postgresql
  17. encoding: utf8
  18. database: dennisbot
  19. pool: 5
  20. username:
  21. password:
  22. # Connect on a TCP socket. Omitted by default since the client uses a
  23. # domain socket that doesn't need configuration. Windows does not have
  24. # domain sockets, so uncomment these lines.
  25. #host: localhost
  26. #port: 5432
  27.  
  28. # Schema search path. The server defaults to $user,public
  29. #schema_search_path: myapp,sharedapp,public
  30.  
  31. # Minimum log levels, in increasing order:
  32. # debug5, debug4, debug3, debug2, debug1,
  33. # log, notice, warning, error, fatal, and panic
  34. # The server defaults to notice.
  35. #min_messages: warning
  36.  
  37. # Warning: The database defined as "test" will be erased and
  38. # re-generated from your development database when you run "rake".
  39. # Do not set this db to the same as development or production.
  40. test:
  41. adapter: postgresql
  42. encoding: utf8
  43. database: dennisbot
  44. pool: 5
  45. production:
  46. adapter: postgresql
  47. encoding: utf8
  48. database: postgres_production
  49. pool: 5
Add Comment
Please, Sign In to add comment