Skip to content

Commit

Permalink
Typical PostgreSQL setup
Browse files Browse the repository at this point in the history
git-svn-id: https://forgetmenot-svn.cvsdude.com/main/trunk@98 a23ba2f0-501e-4c28-b130-3ad736a215ff
  • Loading branch information
Thomas Nichols committed Jul 27, 2007
1 parent e2f794f commit 01585ee
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions config/database.yml.example
@@ -0,0 +1,44 @@
# PostgreSQL versions 7.4 - 8.1
#
# Get the C bindings:
# gem install postgres
# or use the pure-Ruby bindings on Windows:
# gem install postgres-pr

details: &details
adapter: postgresql
username: postgres
password: 1111

# Connect on a TCP socket. Omitted by default since the client uses a
# domain socket that doesn't need configuration. Windows does not have
# domain sockets, so uncomment these lines.
host: localhost
port: 5432
# Schema search path. The server defaults to $user,public
#schema_search_path: myapp,sharedapp,public

# Character set encoding. The server defaults to sql_ascii.
encoding: UTF8

# Minimum log levels, in increasing order:
# debug5, debug4, debug3, debug2, debug1,
# info, notice, warning, error, log, fatal, or panic
# The server defaults to notice.
#min_messages: warning

development:
database: forgetmenot_development
<<: *details


# 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:
database: fmn_test
<<: *details

production:
database: forgetmenot_development
<<: *details

0 comments on commit 01585ee

Please sign in to comment.