Factories now under test
[feedcatcher.git] / config / database-sample.yml
1 # PostgreSQL. Versions 8.2 and up are supported.
2 #
3 # Install the pg driver:
4 # gem install pg
5 # On OS X with Homebrew:
6 # gem install pg -- --with-pg-config=/usr/local/bin/pg_config
7 # On OS X with MacPorts:
8 # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
9 # On Windows:
10 # gem install pg
11 # Choose the win32 build.
12 # Install PostgreSQL and put its /bin directory on your path.
13 #
14 # Configure Using Gemfile
15 # gem 'pg'
16 #
17 development:
18 adapter: postgresql
19 encoding: unicode
20 database: feedcatcher_development
21 host: localhost
22 pool: 5
23 username: feedcatcher
24 password: development_password_here
25
26 # Connect on a TCP socket. Omitted by default since the client uses a
27 # domain socket that doesn't need configuration. Windows does not have
28 # domain sockets, so uncomment these lines.
29 #host: localhost
30
31 # The TCP port the server listens on. Defaults to 5432.
32 # If your server runs on a different port number, change accordingly.
33 #port: 5432
34
35 # Schema search path. The server defaults to $user,public
36 #schema_search_path: myapp,sharedapp,public
37
38 # Minimum log levels, in increasing order:
39 # debug5, debug4, debug3, debug2, debug1,
40 # log, notice, warning, error, fatal, and panic
41 # Defaults to warning.
42 #min_messages: notice
43
44 # Warning: The database defined as "test" will be erased and
45 # re-generated from your development database when you run "rake".
46 # Do not set this db to the same as development or production.
47 test:
48 adapter: postgresql
49 encoding: unicode
50 database: feedcatcher_test
51 host: localhost
52 pool: 5
53 username: feedcatcher
54 password: test_password_here
55
56 production:
57 adapter: postgresql
58 encoding: unicode
59 database: feedcatcher_production
60 pool: 5
61 username: feedcatcher
62 password: production_password_here