docs/guide: update install

This commit is contained in:
Ethan Buchman 2017-03-13 20:24:23 -04:00
parent 75da135755
commit fd6c20739d
1 changed files with 5 additions and 4 deletions

View File

@ -8,16 +8,17 @@ go get -u github.com/tendermint/basecoin/cmd/basecoin
In some cases, if that fails, or if another branch is required,
we use `glide` for dependency management.
The correct way of compiling from source, assuming you've already
run `go get` or otherwise cloned the repo, is:
Thus, assuming you've already run `go get` or otherwise cloned the repo,
the correct way to install is:
```
cd $GOPATH/src/github.com/tendermint/basecoin
git checkout develop # (until we release v0.9)
make get_vendor_deps
make install
```
This will create the `basecoin` binary in `$GOPATH/bin`.
Note the `make get_vendor_deps` command will install `glide` and the correct version of all dependencies.
If you need another branch, make sure to run `git checkout <branch>` before the `make` commands.