Merge branch 'main' of https://github.com/boltcard/boltcard into main
This commit is contained in:
commit
2435b73f02
3 changed files with 5 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
DROP DATABASE IF EXISTS card_db;
|
DROP DATABASE IF EXISTS card_db;
|
||||||
CREATE DATABASE card_db;
|
CREATE DATABASE card_db;
|
||||||
|
|
||||||
--CREATE USER cardapp WITH PASSWORD '***';
|
CREATE USER cardapp WITH PASSWORD 'database_password';
|
||||||
|
|
||||||
\c card_db;
|
\c card_db;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ Here we describe how to create your own bolt card.
|
||||||
- set `Protocol` to `https://`
|
- set `Protocol` to `https://`
|
||||||
- set `URI Data` to
|
- set `URI Data` to
|
||||||
```
|
```
|
||||||
lnurlw://card.yourdomain.com
|
lnurlw://card.yourdomain.com/ln
|
||||||
```
|
```
|
||||||
- select `Add PICCDATA` and `Enable SUN Message`
|
- select `Add PICCDATA` and `Enable SUN Message`
|
||||||
- adjust the `URI Data` to
|
- adjust the `URI Data` to
|
||||||
|
|
|
||||||
|
|
@ -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
|
edit `add_card_data.sql` to set up the individual bolt card records
|
||||||
|
|
||||||
### database creation
|
### 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
|
### boltcard service install
|
||||||
`$ sudo cp boltcard.service /etc/systemd/system/boltcard.service`
|
`$ sudo cp boltcard.service /etc/systemd/system/boltcard.service`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue