From 677dc8a85008aaec69842c83be5297fbfc4d0195 Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Tue, 9 Aug 2022 16:52:29 +0100 Subject: [PATCH 1/5] Update CARD.md correct a URI --- docs/CARD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CARD.md b/docs/CARD.md index b14316f..b833a6c 100644 --- a/docs/CARD.md +++ b/docs/CARD.md @@ -39,7 +39,7 @@ Here we describe how to create your own bolt card. - set `Protocol` to `https://` - set `URI Data` to ``` -lnurlw://card.yourdomain.com +lnurlw://card.yourdomain.com/ln ``` - select `Add PICCDATA` and `Enable SUN Message` - adjust the `URI Data` to From 5f69135c5444cb0933d3dd97203e3b05c3f2e347 Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Tue, 9 Aug 2022 19:01:16 +0100 Subject: [PATCH 2/5] Update create_db.sql set a default password for cardapp to match boltcard.service default setting --- create_db.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_db.sql b/create_db.sql index 20a0306..15e4c56 100644 --- a/create_db.sql +++ b/create_db.sql @@ -1,7 +1,7 @@ DROP DATABASE IF EXISTS card_db; CREATE DATABASE card_db; ---CREATE USER cardapp WITH PASSWORD '***'; +CREATE USER cardapp WITH PASSWORD 'database_password'; \c card_db; From 54dbfcb7a398941aeed406681f1b34ce24057bc7 Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Tue, 9 Aug 2022 19:01:46 +0100 Subject: [PATCH 3/5] Update INSTALL.md --- docs/INSTALL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 3b17841..fa0abac 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -44,6 +44,8 @@ edit `Caddyfile` to set the boltcard domain name edit `add_card_data.sql` to set up the individual bolt card records ### database creation +edit `create_db.sql` to set the cardapp password +`$ sudo -u postgres -i` `$ ./s_create_db` ### boltcard service install From 87ba20df87828b80c807058517b1fced7076697e Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Tue, 9 Aug 2022 19:02:19 +0100 Subject: [PATCH 4/5] Update INSTALL.md --- docs/INSTALL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index fa0abac..7dcc9cc 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -44,9 +44,9 @@ edit `Caddyfile` to set the boltcard domain name edit `add_card_data.sql` to set up the individual bolt card records ### database creation -edit `create_db.sql` to set the cardapp password -`$ sudo -u postgres -i` -`$ ./s_create_db` +edit `create_db.sql` to set the cardapp password +`$ sudo -u postgres -i` +`$ ./s_create_db` ### boltcard service install `$ sudo cp boltcard.service /etc/systemd/system/boltcard.service` From 1d3a858b07484c0c77c1612e8d579befecee1e6b Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Wed, 10 Aug 2022 11:18:22 +0100 Subject: [PATCH 5/5] Update INSTALL.md --- docs/INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 7dcc9cc..0fccff7 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -45,7 +45,7 @@ edit `add_card_data.sql` to set up the individual bolt card records ### database creation edit `create_db.sql` to set the cardapp password -`$ sudo -u postgres -i` +`$ sudo -u postgres createuser -s ubuntu` `$ ./s_create_db` ### boltcard service install