diff --git a/Makefile b/Makefile index 9848db9b..7b1a680c 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ integrationtest: | $(GINKGO) $(LINT) build: go fmt ./... - go build + GO111MODULE=on go build # Parameter checks ## Check that DB variables are provided diff --git a/README.md b/README.md index 7bc0af17..4b8c3067 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Skip this step if you already have access to a node that displays the statediffi Begin by downloading geth and switching to the statediffing branch: -`go get github.com/ethereum/go-ethereum` +`GO111MODULE=off go get -d github.com/ethereum/go-ethereum` `cd $GOPATH/src/github.com/ethereum/go-ethereum` @@ -135,7 +135,7 @@ Finally, setup the watcher process itself. Start by downloading ipfs-blockchain-watcher and moving into the repo: -`go get github.com/vulcanize/ipfs-blockchain-watcher` +`GO111MODULE=off go get -d github.com/vulcanize/ipfs-blockchain-watcher` `cd $GOPATH/src/github.com/vulcanize/ipfs-blockchain-watcher` @@ -143,8 +143,6 @@ Then, build the binary: `make build` -Note: go modules needs to be turned on `export GO111MODULE=on` - ## Usage After building the binary, run as