From a0103f3c2204d37c4f0be83b29dda33b1e3f7f42 Mon Sep 17 00:00:00 2001 From: Carsten Otto <git@c-otto.de> Date: Tue, 30 Jul 2024 20:52:53 -0600 Subject: [PATCH] update README: db configuration --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f46cece8..2bac30dc 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ Install Java 21 and run `./start-h2.sh`. ### Using PostgreSQL (recommended) Install PostgreSQL (Debian: `apt install postgresql`) and create a database named `lndmanagej` and a user `bitcoin`. You can tweak these settings in `application/src/main/resources/application.properties`. -Configure the database so that the user `bitcoin` can access `lndmanagej` without a password at `jdbc:postgresql://localhost:5432/lndmanagej` (`pg_hba.conf`: `local lndmanagej bitcoin trust`). +Configure the database so that the user `bitcoin` can access `lndmanagej` without a password at `jdbc:postgresql://localhost:5432/lndmanagej` (`pg_hba.conf`: `host lndmanagej bitcoin 127.0.0.1/32 trust`). Install Java 21 and run `./start.sh`.