Installation and test instructions

This commit is contained in:
Joe Nelson
2014-09-23 16:40:09 -07:00
parent 909661f899
commit a66504e873
+14
View File
@@ -2,8 +2,22 @@
[![Build Status](https://travis-ci.org/begriffs/dbapi.svg)](https://travis-ci.org/begriffs/dbapi)
### Installation
```sh
brew install postgres
createuser -d 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
```