cosmos-sdk/docs/guide/install.md

25 lines
697 B
Markdown
Raw Normal View History

2017-02-03 18:17:11 -08:00
# Install
2017-02-10 13:40:20 -08:00
On a good day, basecoin can be installed like a normal Go program:
```
go get -u github.com/tendermint/basecoin/cmd/...
2017-02-10 13:40:20 -08:00
```
In some cases, if that fails, or if another branch is required,
we use `glide` for dependency management.
2017-03-13 17:24:23 -07:00
Thus, assuming you've already run `go get` or otherwise cloned the repo,
the correct way to install is:
2017-02-03 18:17:11 -08:00
```
cd $GOPATH/src/github.com/tendermint/basecoin
2017-03-23 16:39:23 -07:00
git pull origin master
2017-06-18 16:01:54 -07:00
make all
2017-02-03 18:17:11 -08:00
```
This will create the `basecoin` binary in `$GOPATH/bin`.
2017-03-13 17:24:23 -07:00
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.
2017-02-03 18:17:11 -08:00