35 lines
829 B
Plaintext
35 lines
829 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: asciinema_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: asciinema_test
|
|
pool: 5
|
|
# username: asciiio
|
|
# password:
|
|
min_messages: WARNING
|
|
|
|
production:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: asciinema_production
|
|
pool: 25
|
|
username: asciiio
|
|
password:
|