stop localnet before starting
in order to avoid having to stop it manually
This commit is contained in:
parent
754be1887c
commit
efc01cf582
2
Makefile
2
Makefile
|
@ -194,7 +194,7 @@ build-linux:
|
||||||
GOOS=linux GOARCH=amd64 $(MAKE) build
|
GOOS=linux GOARCH=amd64 $(MAKE) build
|
||||||
|
|
||||||
# Run a 4-node testnet locally
|
# Run a 4-node testnet locally
|
||||||
localnet-start:
|
localnet-start: localnet-stop
|
||||||
@if ! [ -f build/node0/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/tendermint:Z tendermint/localnode testnet --v 4 --o . --populate-persistent-peers --starting-ip-address 192.167.10.2 ; fi
|
@if ! [ -f build/node0/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/tendermint:Z tendermint/localnode testnet --v 4 --o . --populate-persistent-peers --starting-ip-address 192.167.10.2 ; fi
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue