35 lines
826 B
Plaintext
35 lines
826 B
Plaintext
# 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"
|
|
|
|
development:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: ascii_io_development
|
|
pool: 25
|
|
# username: asciiio
|
|
# password:
|
|
min_messages: WARNING
|
|
|
|
|
|
# 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:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: ascii_io_test
|
|
pool: 5
|
|
# username: asciiio
|
|
# password:
|
|
min_messages: WARNING
|
|
|
|
production:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: ascii_io_production
|
|
pool: 25
|
|
username: asciiio
|
|
password:
|