A website template with lots of features, built with ruby on rails.

database.yml 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. development:
  18. adapter: postgresql
  19. encoding: unicode
  20. database: rails_website_template_development
  21. pool: 5
  22. username: rails_website_template_user
  23. password: 1234
  24. # Connect on a TCP socket. Omitted by default since the client uses a
  25. # domain socket that doesn't need configuration. Windows does not have
  26. # domain sockets, so uncomment these lines.
  27. #host: localhost
  28. # The TCP port the server listens on. Defaults to 5432.
  29. # If your server runs on a different port number, change accordingly.
  30. #port: 5432
  31. # Schema search path. The server defaults to $user,public
  32. #schema_search_path: myapp,sharedapp,public
  33. # Minimum log levels, in increasing order:
  34. # debug5, debug4, debug3, debug2, debug1,
  35. # log, notice, warning, error, fatal, and panic
  36. # Defaults to warning.
  37. #min_messages: notice
  38. # Warning: The database defined as "test" will be erased and
  39. # re-generated from your development database when you run "rake".
  40. # Do not set this db to the same as development or production.
  41. test:
  42. adapter: postgresql
  43. encoding: unicode
  44. database: rails_website_template_test
  45. pool: 5
  46. username: rails_website_template_user
  47. password: 1234
  48. production:
  49. adapter: postgresql
  50. encoding: unicode
  51. database: rails_website_template_production
  52. pool: 5
  53. username: rails_website_template
  54. password: