Skip to content

Commit

Permalink
Update README with database connection info
Browse files Browse the repository at this point in the history
  • Loading branch information
Surya Dutta authored Sep 11, 2017
1 parent a2d714c commit 3247dfd
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,21 @@ In order to transform this file into a Hydrated, Fire-Breathing, Alive+Kicking d

![psql session](/assets/psql_session1.jpg)

Great! Now the last step is to configure the app to connect to your local postgres database. To do this, go to bin/localcn.js, and fill out the localcn.postgres object like this:

`
localcn.postgres = {
host: 'localhost',
port: 5432,
database: 'yurardb_testing',
user: '{your user}',
password: '{your password}'
};
`
Now, you should be able to connect to your local postgres database!

### Running the server
I can't connect to the database yet, so if you can make it work, drop an issue! Will update with details soon.

Stay tuned!
To run your local instance of RDB, just do `npm start`. We are working on a way to directly connect to the Heroku Postgres database.

More info to come - Stay tuned!

0 comments on commit 3247dfd

Please sign in to comment.