From 340d273f8387f708fde030c7f505df07055a07a5 Mon Sep 17 00:00:00 2001 From: GaryTomato Date: Mon, 11 Sep 2017 11:34:36 -0400 Subject: [PATCH 1/2] Started expanding "automated deployments" --- docs/deploy-testnets.rst | 51 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/docs/deploy-testnets.rst b/docs/deploy-testnets.rst index 66cee8cd4..e1aa7074d 100644 --- a/docs/deploy-testnets.rst +++ b/docs/deploy-testnets.rst @@ -40,8 +40,51 @@ Automated Deployments --------------------- While the manual deployment is easy enough, an automated deployment is -always better. For this, we have the `mintnet-kubernetes -tool `__, -which allows us to automate the deployment of a Tendermint network on an -already provisioned kubernetes cluster. And for simple provisioning of kubernetes +usually quicker. The below examples show different tools that can be used +for automated deployments. + +Automated Deployment using Kubernetes +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The `mintnet-kubernetes tool `__ +allows automating the deployment of a Tendermint network on an already +provisioned kubernetes cluster. For simple provisioning of a kubernetes cluster, check out the `Google Cloud Platform `__. + +Automated Deployment using Terraform and Ansible +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The `terraform-digitalocean tool `__ +allows creating a set of servers on the DigitalOcean cloud. + +The `ansible playbooks `__ +allow creating and managing a ``basecoin`` or ``ethermint`` testnet on provisioned servers. + +Package Deployment on Linux for developers +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The ``tendermint`` and ``basecoin`` applications can be installed from RPM or DEB packages on +Linux machines for development purposes. The packages are configured to be validators on the +one-node network that the machine represents. The services are not started after installation, +this way giving an opportunity to reconfigure the applications before starting. + +The Ansible playbooks in the previous section use this repository to install ``basecoin``. +After installation, additional steps are executed to make sure that the multi-node testnet has +the right configuration before start. + +Install from the CentOS/RedHat repository: + +:: + + rpm --import https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint + wget -O /etc/yum.repos.d/tendermint.repo https://tendermint-packages.interblock.io/centos/7/os/x86_64/tendermint.repo + yum install basecoin + +Install from the Debian/Ubuntu repository: + +:: + + wget -O - https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | apt-key add - + wget -O /etc/apt/sources.list.d/tendermint.list https://tendermint-packages.interblock.io/debian/tendermint.list + apt-get update && apt-get install basecoin + From e2c3cc9685cdb7cdac7b18780928ff3dba9ff1b3 Mon Sep 17 00:00:00 2001 From: Zach Ramsay Date: Tue, 12 Sep 2017 10:57:34 -0400 Subject: [PATCH 2/2] docs: give index a Tools section --- docs/index.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 3d278f60c..56b1163c7 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -23,9 +23,16 @@ Tendermint 101 introduction.rst install.rst getting-started.rst - deploy-testnets.rst using-tendermint.rst +Tendermint Tools +---------------- + +.. toctree:: + :maxdepth: 2 + + deploy-testnets.rst + Tendermint 102 --------------