asciinema.org/config/database.yml.example
2012-10-30 20:04:58 +01:00

35 lines
824 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: 5
# 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: 5
username: asciiio
password: