Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 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. database: forumspb_rails_development
  18. pool: 5
  19. # username:
  20. # password:
  21.  
  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: unicode
  43. database: forumspb_rails_test
  44. pool: 5
  45. # username:
  46. # password:
  47. # host: /var/run/postgresql
  48.  
  49. production:
  50. adapter: postgresql
  51. encoding: unicode
  52. database: forumspb_production
  53. pool: 5
  54. # username: forumspb_user_production
  55. # password: forumspb_user_password
  56.  
  57. staging:
  58. adapter: postgresql
  59. encoding: unicode
  60. database: forumspb_staging
  61. pool: 5
  62. username: forumspb_user_staging
  63. password: forumspb_user_password
  64.  
  65. pre_production:
  66. adapter: postgresql
  67. encoding: unicode
  68. database: forumspb_pre_production
  69. pool: 5
  70. username: forumspb_user_pre_production
  71. password: forumspb_user_password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement