asciinema.org/config/database.yml.example

35 lines
824 B
Plaintext
Raw Normal View History

# 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
# username: asciiio
# password:
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
# username: asciiio
# password:
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: