stop localnet before starting

in order to avoid having to stop it manually
This commit is contained in:
Anton Kaliaev 2018-05-10 14:02:31 +04:00
parent 754be1887c
commit efc01cf582
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ build-linux:
GOOS=linux GOARCH=amd64 $(MAKE) build
# 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
docker-compose up