Guest User

Untitled

a guest
Jul 27th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. # PostgreSQL. Versions 7.4 and 8.x are supported.
  2. #
  3. # Install the ruby-postgres driver:
  4. # gem install ruby-postgres
  5. # On Mac OS X:
  6. # gem install ruby-postgres -- --include=/usr/local/pgsql
  7. # On Windows:
  8. # gem install ruby-postgres
  9. # Choose the win32 build.
  10. # Install PostgreSQL and put its /bin directory on your path.
  11. development:
  12. adapter: postgresql
  13. encoding: unicode
  14. database: unigenius_development
  15. pool: 5
  16. username: unigenius
  17. password:
  18.  
  19. #development:
  20. # adapter: sqlite3
  21. # database: db/development.sqlite3
  22. # pool: 5
  23. # timeout: 5000
  24.  
  25. # Connect on a TCP socket. Omitted by default since the client uses a
  26. # domain socket that doesn't need configuration. Windows does not have
  27. # domain sockets, so uncomment these lines.
  28. host: localhost
  29. port: 5432
  30.  
  31. # Schema search path. The server defaults to $user,public
  32. schema_search_path: myapp,sharedapp,public
  33.  
  34. # Minimum log levels, in increasing order:
  35. # debug5, debug4, debug3, debug2, debug1,
  36. # log, notice, warning, error, fatal, and panic
  37. # The server defaults to notice.
  38. min_messages: warning
  39.  
  40. # Warning: The database defined as "test" will be erased and
  41. # re-generated from your development database when you run "rake".
  42. # Do not set this db to the same as development or production.
  43. test:
  44. adapter: postgresql
  45. encoding: unicode
  46. database: unigenius_test
  47. pool: 5
  48. username: unigenius
  49. password:
  50.  
  51. production:
  52. adapter: postgresql
  53. encoding: unicode
  54. database: unigenius_production
  55. pool: 5
  56. username: unigenius
  57. password:
Add Comment
Please, Sign In to add comment