docs: organize install a bit better

This commit is contained in:
Zach Ramsay
2017-09-18 16:42:24 -04:00
parent 740167202f
commit cf9a03f698

View File

@@ -1,17 +1,24 @@
Install from Source Install Tendermint
=================== ==================
This page provides instructions on installing Tendermint from source. To From Binary
download pre-built binaries, see the `Download page <https://tendermint.com/download>`__. -----------
To download pre-built binaries, see the `Download page <https://tendermint.com/download>`__.
From Source
-----------
You'll need `go`, maybe `glide` and the tendermint source code.
Install Go Install Go
---------- ^^^^^^^^^^
Make sure you have `installed Go <https://golang.org/doc/install>`__ and Make sure you have `installed Go <https://golang.org/doc/install>`__ and
set the ``GOPATH``. set the ``GOPATH``.
Install Tendermint Get Source Code
------------------ ^^^^^^^^^^^^^^^
You should be able to install the latest with a simple You should be able to install the latest with a simple
@@ -19,13 +26,14 @@ You should be able to install the latest with a simple
go get github.com/tendermint/tendermint/cmd/tendermint go get github.com/tendermint/tendermint/cmd/tendermint
Run ``tendermint --help`` for more. Run ``tendermint --help`` and ``tendermint version`` to ensure your
installation worked.
If the installation failed, a dependency may been updated and become If the installation failed, a dependency may been updated and become
incompatible with the latest Tendermint master branch. We solve this incompatible with the latest Tendermint master branch. We solve this
using the ``glide`` tool for dependency management. using the ``glide`` tool for dependency management.
Fist, install ``glide``: First, install ``glide``:
:: ::
@@ -45,7 +53,7 @@ still cloned to the correct location in the ``$GOPATH``.
The latest Tendermint Core version is now installed. The latest Tendermint Core version is now installed.
Reinstall Reinstall
~~~~~~~~~ ---------
If you already have Tendermint installed, and you make updates, simply If you already have Tendermint installed, and you make updates, simply
@@ -79,7 +87,7 @@ Since the third option just uses ``glide`` right away, it should always
work. work.
Troubleshooting Troubleshooting
~~~~~~~~~~~~~~~ ---------------
If ``go get`` failing bothers you, fetch the code using ``git``: If ``go get`` failing bothers you, fetch the code using ``git``:
@@ -92,7 +100,7 @@ If ``go get`` failing bothers you, fetch the code using ``git``:
go install ./cmd/tendermint go install ./cmd/tendermint
Run Run
~~~ ^^^
To start a one-node blockchain with a simple in-process application: To start a one-node blockchain with a simple in-process application: