Merge branch 'main' of github.com:lnbits/legend-regtest-enviroment
This commit is contained in:
commit
81e1e12814
2 changed files with 8 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -7,5 +7,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
git clone https://github.com/lnbits/lnbits-legend.git
|
||||||
|
docker build -t lnbits-legend lnbits-legend
|
||||||
chmod +x ./tests
|
chmod +x ./tests
|
||||||
./tests
|
./tests
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,9 @@ poetry run uvicorn --host 0.0.0.0 --port 5000 --reload
|
||||||
# usage
|
# usage
|
||||||
get the regtest enviroment ready
|
get the regtest enviroment ready
|
||||||
```console
|
```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
|
mkdir ~/repos/lnbits-legend/docker
|
||||||
git clone git@github.com:lnbits/legend-regtest-enviroment.git ~/repos/lnbits-legend/docker
|
git clone git@github.com:lnbits/legend-regtest-enviroment.git ~/repos/lnbits-legend/docker
|
||||||
cd ~/repos/lnbits-legend/docker
|
cd ~/repos/lnbits-legend/docker
|
||||||
|
|
@ -57,6 +60,9 @@ lncli-sim 2 listpeers
|
||||||
* lnd-1 rest: http://localhost:8081/
|
* lnd-1 rest: http://localhost:8081/
|
||||||
* lnbits: http://localhost:5001/
|
* 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
|
# debugging docker logs
|
||||||
```console
|
```console
|
||||||
docker logs lnbits-legend-lnbits-1 -f
|
docker logs lnbits-legend-lnbits-1 -f
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue