From a66504e873924f26e5c2c589875d1846219a99a9 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 23 Sep 2014 16:40:09 -0700 Subject: [PATCH] Installation and test instructions --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 +```