Files
postgrest/README.md
T
Ryan Charette 8a277fbd81 readme:
Updates README.md to add postgres role to superuser.
2014-09-23 21:41:02 -07:00

26 lines
491 B
Markdown

## Serve a RESTful API from any Postgres database
[![Build Status](https://travis-ci.org/begriffs/dbapi.svg)](https://travis-ci.org/begriffs/dbapi)
### Installation
```sh
brew install postgres
createuser -d postgres
psql template1 -c "ALTER ROLE postgres WITH SUPERUSER;"
createdb dbapi_test -O postgres
cabal install -j --enable-tests --reorder-goals
```
Example usage:
```sh
dbapi -p 3000 -d postgres://postgres:@localhost:5432/dbapi_test
```
### Running tests
```sh
cabal test
```