From eae8550a5f946a431537a24e53f6c5c6c4a85736 Mon Sep 17 00:00:00 2001 From: benarc Date: Tue, 14 Nov 2023 14:18:44 +0000 Subject: [PATCH] Swapped to sh Sorry for messy commits DNI --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d785700..b7f1a86 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,11 @@ # Installing regtest get the regtest enviroment ready -```console +```sh # Install docker https://docs.docker.com/engine/install/ -# Make sure your user has permission to use docker "sudo usermod -aG docker ${USER}" then reboot -# Stop/start docker "sudo systemctl stop docker" "sudo systemctl start docker" +# Make sure your user has permission to use docker 'sudo usermod -aG docker ${USER}' then reboot +# Stop/start docker 'sudo systemctl stop docker' 'sudo systemctl start docker' + sudo apt install jq git clone https://github.com/lnbits/lnbits.git cd lnbits @@ -28,7 +29,7 @@ sudo chown -R $USER ./data # Give the data file permissions for user # Running LNbits on regtest add this ENV variables to your `.env` file -```console +```sh DEBUG=true # LND @@ -50,7 +51,7 @@ make dev ``` # testing -```console +```sh chmod +x ./tests ./tests # short answer :) @@ -58,7 +59,7 @@ make dev ``` usage of the `bitcoin-cli-sim`, `lightning-cli-sim` and `lncli-sim` aliases -```console +```sh cd ~/lnbits/docker source docker-scripts.sh # use bitcoin core, mine a block @@ -81,7 +82,7 @@ lncli-sim 2 listpeers * lnbits: http://localhost:5001/ # debugging docker logs -```console +```sh docker logs lnbits-legend-lnbits-1 -f docker logs lnbits-legend-boltz-1 -f docker logs lnbits-legend-clightning-1-1 -f