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; 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 diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 3b17841..0fccff7 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -44,7 +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 -`$ ./s_create_db` +edit `create_db.sql` to set the cardapp password +`$ sudo -u postgres createuser -s ubuntu` +`$ ./s_create_db` ### boltcard service install `$ sudo cp boltcard.service /etc/systemd/system/boltcard.service`