Skip to content

Commit

Permalink
Adding postgres instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinathanson committed Nov 20, 2014
1 parent 7daa925 commit 76e9764
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ We use PostgreSQL as our datastore, with the schema described in `schema.sql`.

In a psql session, you can load the schema with `\i schema.sql`, and you'll be good to go.

On OS X, setting up psql might look like this:

```
brew install postgres
postgres -D /usr/local/var/postgres
createdb cycledash
psql cycledash
\i schema.sql
```

### API Usage

The primary endpoint for posting data to from an external source is `/runs`.
Expand Down

0 comments on commit 76e9764

Please sign in to comment.