jeff_dickey

`database.yml` after Postgres install

Dec 22nd, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.72 KB | None | 0 0
  1. # This DOES NOT know about a database in a Rails `db` directory. To be fixed.
  2. default: &default
  3.   adapter: postgresql
  4.   encoding: unicode
  5.   pool: 5
  6.   socket: /var/pgsql_socket
  7.   host: localhost
  8.   port: 5432
  9.   username: <%= ENV['NEWPOC_DBUSER'] %>
  10.   password: <%= ENV['NEWPOC_DBPASS'] %>
  11. # In a real app, you'll certainly want to use different credentials for dev, test & production.
  12.  
  13. development:
  14.   <<: *default
  15.   database: app_dev
  16.  
  17. # Warning: The database defined as "test" will be erased and
  18. # re-generated from your development database when you run "rake".
  19. # Do not set this db to the same as development or production.
  20. test:
  21.   <<: *default
  22.   database: app_test
  23.  
  24. production:
  25.   <<: *default
  26.   database: app_prod
Add Comment
Please, Sign In to add comment