diff --git a/README.md b/README.md index ab1ccce89..adf50cca7 100644 --- a/README.md +++ b/README.md @@ -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 +```