From 7702d3826701d4a6c9ad1d09c23d6fcb3c7da0e0 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Thu, 4 Feb 2016 16:33:04 -0800 Subject: [PATCH] Update docs to note rquired arguments --- docs/install/server.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/install/server.md b/docs/install/server.md index e5aa4663d..325d17a14 100644 --- a/docs/install/server.md +++ b/docs/install/server.md @@ -65,7 +65,7 @@ If you want to run the test suite, stack can do that too: `stack test`. ### Running the Server ```bash -postgrest postgres://user:pass@host:port/db [flags] +postgrest postgres://user:pass@host:port/db -s public -a anon_user [other flags] ``` The user in the connection string is the "authenticator role," i.e. @@ -80,11 +80,11 @@ The possible flags are:
The port on which the server will listen for HTTP requests. Defaults to 3000.
-
-a, --anonymous
+
-a, --anonymous (required)
The database role used to execute commands for those requests which provide no JWT authorization.
-
-s, --schema
+
-s, --schema (required)
The db schema which you want to expose as an API. For historical reasons it defaults to 1, but you're more likely to want to choose a value of public.