Merge branch 'main' of github.com:onesandzeros-nz/boltcard into main

This commit is contained in:
Chloe Jung 2023-02-01 17:27:17 +13:00
commit 216037bffa

View file

@ -8,9 +8,10 @@
install](https://docs.docker.com/compose/install/) install](https://docs.docker.com/compose/install/)
### Set up the boltcard server ### Set up the boltcard server
edit `.env` to set up the database connection - edit `.env` to set up the database connection
edit `settings.sql` to set up [bolt card system settings](SETTINGS.md) - edit `settings.sql` to set up [bolt card system settings](SETTINGS.md)
edit `Caddyfile` to set the boltcard domain name - Put the `tls.cert` file and `admin.macaroon` files in the project root directory and in the settings.sql, set the paths to the files to `/boltcard/tls.cert` and `/boltcard/admin.macaroon`
- edit `Caddyfile` to set the boltcard domain name
### https setup ### https setup
@ -36,5 +37,5 @@ To delete the database and reset the docker volume, run `docker-compose down --v
#### running create bolt card command #### running create bolt card command
- `docker exec boltcard_main createboltcard/createboltcard` to see options - `docker exec boltcard_main createboltcard/createboltcard` to see options
- `docker exec boltcard_main createboltcard/createboltcard -enable -allow_neg_bal -tx_max=1000 -day_max=10000 -name=card_1` for example - `docker exec boltcard_main createboltcard/createboltcard -enable -tx_max=1000 -day_max=10000 -name=card_1` for example
- this will give you a one-time link in text and QR code form - this will give you a one-time link in text and QR code form