2012-10-30 19:04:58 +00:00
|
|
|
# Enable passwordless Postgres access with following commands:
|
|
|
|
#
|
|
|
|
# echo "local all $USER trust" | sudo tee -a /etc/postgresql/9.1/main/pg_hba.conf
|
|
|
|
# sudo su - postgres -c "createuser -s -r -d $USER"
|
|
|
|
|
2012-02-21 21:32:48 +00:00
|
|
|
development:
|
2012-10-12 19:46:15 +00:00
|
|
|
adapter: postgresql
|
|
|
|
encoding: unicode
|
2012-02-21 21:32:48 +00:00
|
|
|
database: ascii_io_development
|
2012-10-12 19:46:15 +00:00
|
|
|
pool: 5
|
2012-10-30 19:04:58 +00:00
|
|
|
# username: asciiio
|
|
|
|
# password:
|
2012-10-12 23:34:37 +00:00
|
|
|
min_messages: WARNING
|
2012-02-21 21:32:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
|
|
# re-generated from your development database when you run "rake".
|
|
|
|
# Do not set this db to the same as development or production.
|
|
|
|
test:
|
2012-10-12 19:46:15 +00:00
|
|
|
adapter: postgresql
|
|
|
|
encoding: unicode
|
2012-02-21 21:32:48 +00:00
|
|
|
database: ascii_io_test
|
|
|
|
pool: 5
|
2012-10-30 19:04:58 +00:00
|
|
|
# username: asciiio
|
|
|
|
# password:
|
2012-10-12 23:34:37 +00:00
|
|
|
min_messages: WARNING
|
2012-02-21 21:32:48 +00:00
|
|
|
|
|
|
|
production:
|
2012-10-12 19:46:15 +00:00
|
|
|
adapter: postgresql
|
|
|
|
encoding: unicode
|
2012-02-21 21:32:48 +00:00
|
|
|
database: ascii_io_production
|
|
|
|
pool: 5
|
2012-10-12 19:46:15 +00:00
|
|
|
username: asciiio
|
2012-02-21 21:32:48 +00:00
|
|
|
password:
|