Created
November 1, 2011 17:47
-
-
Save dchapman1988/1331318 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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