update run example for new CLI

This commit is contained in:
Adam C. Baker
2014-12-07 18:51:51 -08:00
parent b302843e10
commit 638cd3d49d
+4 -1
View File
@@ -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