summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-23 23:12:43 +0100
committerColin Reeder <colin@vpzom.click>2020-12-23 15:15:52 -0700
commitc1cf0098f797bf8d4209f61b2b9567cecf0a1847 (patch)
tree0aa416dfb2a8b7952de6b669d18a42cfcab5437e
parentab5fed01bf6f6941478d65d71e666cb2011606eb (diff)
Add link to examples for DATABASE_URL format
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--doc/INSTALL.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md
index 2a77ca6..34e5939 100644
--- a/doc/INSTALL.md
+++ b/doc/INSTALL.md
@@ -54,7 +54,8 @@ location / {
Requirements: rustc, cargo, openssl, and a PostgreSQL database
The following environment variables are required (*An environment variable manager like [direnv](https://direnv.net/) is recommended in order to avoid these variables interfering with other programs.*)
- - DATABASE_URL - Credentials for database connection.
+ - DATABASE_URL - Credentials for database connection. For examples see
+ [the tokio-postgres documentation](https://docs.rs/tokio-postgres/0.6.0/tokio_postgres/config/struct.Config.html#examples-1).
- HOST_URL_ACTIVITYPUB - Typically `http://localhost:3333/apub` for dev instances
- HOST_URL_API - Typically `http://localhost:3333/api` for dev instances