|
@ -62,16 +62,18 @@ There are several roles that are self-explanatory: |
|
|
First, we configure our droplets by specifying the paths for tendermint |
|
|
First, we configure our droplets by specifying the paths for tendermint |
|
|
(`BINARY`) and the node files (`CONFIGDIR`). The latter expects any |
|
|
(`BINARY`) and the node files (`CONFIGDIR`). The latter expects any |
|
|
number of directories named `node0, node1, ...` and so on (equal to the |
|
|
number of directories named `node0, node1, ...` and so on (equal to the |
|
|
number of droplets created). For this example, we use pre-created files |
|
|
|
|
|
from [this |
|
|
|
|
|
directory](https://github.com/tendermint/tendermint/tree/master/docs/examples). |
|
|
|
|
|
To create your own files, use either the `tendermint testnet` command or |
|
|
|
|
|
review [manual deployments](./deploy-testnets.md). |
|
|
|
|
|
|
|
|
number of droplets created). |
|
|
|
|
|
|
|
|
Here's the command to run: |
|
|
|
|
|
|
|
|
To create the node files run: |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
ansible-playbook -i inventory/digital_ocean.py -l sentrynet config.yml -e BINARY=$GOPATH/src/github.com/tendermint/tendermint/build/tendermint -e CONFIGDIR=$GOPATH/src/github.com/tendermint/tendermint/docs/examples |
|
|
|
|
|
|
|
|
tendermint testnet |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Then, to configure our droplets run: |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
ansible-playbook -i inventory/digital_ocean.py -l sentrynet config.yml -e BINARY=$GOPATH/src/github.com/tendermint/tendermint/build/tendermint -e CONFIGDIR=$GOPATH/src/github.com/tendermint/tendermint/networks/remote/ansible/mytestnet |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Voila! All your droplets now have the `tendermint` binary and required |
|
|
Voila! All your droplets now have the `tendermint` binary and required |
|
|