diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d6ad84..7e56cd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index ce70dc3..51749e6 100644 --- a/README.md +++ b/README.md @@ -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