From e666a1923168224fb8813c291d3a88d54252b491 Mon Sep 17 00:00:00 2001
From: reivilibre
SYNAPSE_POSTGRES
to anything nonemptySYNAPSE_POSTGRES_HOST
SYNAPSE_POSTGRES_USER
SYNAPSE_POSTGRES_PASSWORD
SYNAPSE_POSTGRES_HOST
(optional if it's the default: UNIX socket)SYNAPSE_POSTGRES_PORT
(optional if it's the default: 5432)SYNAPSE_POSTGRES_USER
(optional if using a UNIX socket)SYNAPSE_POSTGRES_PASSWORD
(optional if using a UNIX socket)For example:
export SYNAPSE_POSTGRES=1
@@ -330,6 +331,10 @@ export SYNAPSE_POSTGRES_USER=postgres
export SYNAPSE_POSTGRES_PASSWORD=mydevenvpassword
trial
+You don't need to specify the host, user, port or password if your Postgres
+server is set to authenticate you over the UNIX socket (i.e. if the psql
command
+works without further arguments).
Your Postgres account needs to be able to create databases.
The integration tests are a more comprehensive suite of tests. They run a full version of Synapse, including your changes, to check if -- cgit 1.5.1