uwblueprint / somo

Text messaging survey app for Somo
http://www.thesomoproject.org
5 stars 1 forks source link

Configure Database Connection (Postgres) #27

Closed katrinacrisostomo closed 8 years ago

katrinacrisostomo commented 8 years ago

https://www.digitalocean.com/community/tutorials/how-to-use-postgresql-with-your-ruby-on-rails-application-on-ubuntu-14-04

Follow above^

The pg and postgres gems are in but we need to configure the database connection. Right now, if you rake db:migrate it can't connect.

dinahshi commented 8 years ago

The database is set up to use the default user postgres. This is more of a development environment setup issue than in-app changes. Developers need to have postgres installed, create a user, and then create the db before the first rake.

katrinacrisostomo commented 8 years ago

Oooh I see, okay, I'll close this issue and put this in the README