Skip to content

Commit

Permalink
added a db creation step to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
dotemacs committed Mar 20, 2011
1 parent cf1472f commit e65c9a1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ And run your bundler:

@bundle install@

Make sure that you have the desired database, if not create it as the desired user:

@createdb hstorage_dev@

Add the parameters to your database.yml (these are system dependant), e.g.:

bc. development:
adapter: postgresql
host: 127.0.0.1
database: hstorage_dev
encoding: unicode
username: postgres
password:
pool: 5

Now you need to create a migration that adds hstore support for your postgresql database:

@rails g hstore:setup@
Expand Down

0 comments on commit e65c9a1

Please sign in to comment.