Skip to content

Instantly share code, notes, and snippets.

@dchapman1988
Created November 1, 2011 17:47
Show Gist options
  • Save dchapman1988/1331318 to your computer and use it in GitHub Desktop.
Save dchapman1988/1331318 to your computer and use it in GitHub Desktop.
development:
adapter: postgresql
database: <PROJECT'S NAME>_development
username: developer
password: <PASSWORD>
host: localhost
encoding: UTF8
test: &test
adapter: postgresql
database: <PROJECT'S NAME>_test
username: developer
password: <PASSWORD>
host: localhost
encoding: UTF8
production:
adapter: postgresql
database: <PROJECT'S NAME>_production
username: developer
password: <PASSWORD>
host: localhost
encoding: UTF8
cucumber:
<<: *test
$ sudo su
# apt-get install postgresql
# su postgres
$ createuser -P -s -e developer
Enter password for new role: <PASSWORD>
And now you're ready to set up your project on postgres...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment