Guest User

Untitled

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