summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 14 insertions, 6 deletions
diff --git a/README.md b/README.md
index 92990f5..51ccdc8 100644
--- a/README.md
+++ b/README.md
@@ -13,12 +13,6 @@ Create and serve a temporary database:
temp-postgres
```
-Specify a database name, and PostgreSQL user name:
-
-```sh
-temp-postgres --dbname myproject --username alex
-```
-
Wrap the `psql` command to connect to the temporary database once the server is ready:
```sh
@@ -44,6 +38,20 @@ platform = { host = 'cfg(unix)' }
run-wrapper = 'temp-postgres'
```
+Set up a symlink to enable static client configuration:
+
+```sh
+temp-postgres --symlink ./db
+psql --host "$(realpath ./db)"
+```
+
+Specify a database name, and PostgreSQL user name:
+
+```sh
+temp-postgres --dbname myproject --username alex
+```
+
+
See the manual page for details.
## Dependencies
Generated by cgit. See skreutz.com for my tech blog and contact information.