mirror of
https://github.com/wahyd4/ocelots.git
synced 2026-08-09 04:56:21 +10:00
29 lines
552 B
YAML
29 lines
552 B
YAML
# This is how you install postgres:
|
|
|
|
# brew install postgres
|
|
# initdb /usr/local/var/postgres -E utf8
|
|
# pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
|
|
|
|
# This is how you create databases:
|
|
|
|
# createuser -s ocelots
|
|
# createdb ocelots_dev
|
|
# createdb ocelots_test
|
|
|
|
development:
|
|
adapter: postgresql
|
|
database: ocelots_dev
|
|
user: ocelots
|
|
host: localhost
|
|
pool: 5
|
|
timeout: 5000
|
|
|
|
test: &test
|
|
adapter: postgresql
|
|
database: ocelots_test
|
|
user: ocelots
|
|
host: localhost
|
|
pool: 5
|
|
timeout: 5000
|
|
cucumber:
|
|
<<: *test |