From efc01cf5822d009c251b70749598cadf4a8593a6 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Thu, 10 May 2018 14:02:31 +0400 Subject: [PATCH] stop localnet before starting in order to avoid having to stop it manually --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4601c970..05d1889f 100755 --- a/Makefile +++ b/Makefile @@ -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