docs: fix build instructions (#4123)

This commit is contained in:
Albert
2019-11-10 12:41:28 +08:00
committed by Anton Kaliaev
parent cf4360c673
commit 6a4608230c
2 changed files with 13 additions and 5 deletions

View File

@@ -18,7 +18,12 @@ To download pre-built binaries, see the [releases page](https://github.com/tende
## From Source
You'll need `go` [installed](https://golang.org/doc/install) and the required
[environment variables set](https://github.com/tendermint/tendermint/wiki/Setting-GOPATH)
environment variables set, which can be done with the following commands:
```bash
echo export GOPATH=\"\$HOME/go\" >> ~/.bash_profile
echo export PATH=\"\$PATH:\$GOPATH/bin\" >> ~/.bash_profile
echo export GO111MODULE=on >> ~/.bash_profile
```
### Get Source Code