specify GO111MODLE state in readme, explicitly use GO111MODULE=on in make build
This commit is contained in:
parent
7b0b613b92
commit
4d4e5eb029
2
Makefile
2
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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user