cosmos-sdk/docs/sdk/install.rst

25 lines
660 B
ReStructuredText
Raw Normal View History

2018-02-02 16:09:08 -08:00
Install
=======
2018-04-11 07:47:55 -07:00
Cosmos SDK can be installed to
2018-03-03 21:37:01 -08:00
`$GOPATH/src/github.com/cosmos/cosmos-sdk` like a normal Go program:
2018-02-02 16:09:08 -08:00
::
2018-04-11 07:47:55 -07:00
go get github.com/cosmos/cosmos-sdk
2018-02-02 16:09:08 -08:00
If the dependencies have been updated with breaking changes, or if
2018-02-25 10:12:15 -08:00
another branch is required, ``dep`` is used for dependency management.
2018-02-02 16:09:08 -08:00
Thus, assuming you've already run ``go get`` or otherwise cloned the
repo, the correct way to install is:
::
cd $GOPATH/src/github.com/cosmos/cosmos-sdk
2018-04-11 07:47:55 -07:00
make get_vendor_deps
make install
make install_examples
2018-02-02 16:09:08 -08:00
2018-04-11 07:47:55 -07:00
This will install ``gaiad`` and ``gaiacli`` and four example binaries:
``basecoind``, ``basecli``, ``democoind``, and ``democli``.