Update readme
This commit is contained in:
@@ -24,13 +24,16 @@ your own projects.
|
|||||||
Download the binary ([latest release](https://github.com/begriffs/postgrest/releases/latest)) and invoke like so:
|
Download the binary ([latest release](https://github.com/begriffs/postgrest/releases/latest)) and invoke like so:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
postgrest --db-host localhost --db-port 5432 \
|
postgrest postgres://postgres:foobar@localhost:5432/my_db
|
||||||
--db-name my_db --db-user postgres \
|
--port 3000 \
|
||||||
--db-pass foobar --db-pool 200 \
|
--schema public \
|
||||||
--anonymous postgres --port 3000 \
|
--anonymous postgres \
|
||||||
--schema public
|
--pool 200
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For more information on valid connection strings see the
|
||||||
|
[Postgres docs](http://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING).
|
||||||
|
|
||||||
In production include the `--secure` option which redirects all
|
In production include the `--secure` option which redirects all
|
||||||
requests to HTTPS. Note that PostgREST does not handle the SSL
|
requests to HTTPS. Note that PostgREST does not handle the SSL
|
||||||
internally and must be put behind another server that does (such
|
internally and must be put behind another server that does (such
|
||||||
|
|||||||
Reference in New Issue
Block a user