From 638cd3d49d7461830b4c00b3ce5e7ada92ba1704 Mon Sep 17 00:00:00 2001 From: "Adam C. Baker" Date: Sun, 7 Dec 2014 18:51:51 -0800 Subject: [PATCH] update run example for new CLI --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 370ab8a82..43c93f10c 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,12 @@ cabal install -j --enable-tests Example usage: ```sh -cabal run -p 3000 -d postgres://[auth-role]:@localhost:5432/[database] -a [anonymous-role] +cabal run -d [database] -U [auth-role] -a [anonymous-role] ``` +This will connect to a postgres DB at the url +`postgres://[auth-role]:@localhost:5432/[database]`. + You will need to provide two database roles (which are allowed to be the same). One is called the authenticator role (`auth-role` above) which should have enough privileges to read the `auth` table