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.