Merge branch 'main' of github.com:lnbits/legend-regtest-enviroment

This commit is contained in:
dni ⚡ 2022-08-22 09:02:40 +02:00
commit 81e1e12814
2 changed files with 8 additions and 0 deletions

View file

@ -7,5 +7,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run tests
run: |
git clone https://github.com/lnbits/lnbits-legend.git
docker build -t lnbits-legend lnbits-legend
chmod +x ./tests
./tests

View file

@ -27,6 +27,9 @@ poetry run uvicorn --host 0.0.0.0 --port 5000 --reload
# usage
get the regtest enviroment ready
```console
git clone git@github.com:lnbits/lnbits-legend.git ~/repos/lnbits-legend
cd ~/repos/lnbits-legend
docker build -t lnbits-legend .
mkdir ~/repos/lnbits-legend/docker
git clone git@github.com:lnbits/legend-regtest-enviroment.git ~/repos/lnbits-legend/docker
cd ~/repos/lnbits-legend/docker
@ -57,6 +60,9 @@ lncli-sim 2 listpeers
* lnd-1 rest: http://localhost:8081/
* lnbits: http://localhost:5001/
## latest release version from docker hub
if you want to use the latest version of lnbits uncomment L#11 in docker-compose.yaml
# debugging docker logs
```console
docker logs lnbits-legend-lnbits-1 -f