Build
This document describes how to build the Second State DevChain.
Binary build
Binary builds of the Second State DevChain are limited to Ubuntu 16.04 and CentOS 7.
Ubuntu 16.04
First, let’s install and update necessary packages on a clean Ubuntu 16.04 install.
Next, you must have GO language version 1.10+ installed. The easiest way to get GO 1.10 is through the GVM. Below are the commands.
Now, pull the devchain source code from Github, and then build the binary executable for Ubuntu 16.04.
Once successful, the binary executable from the build is $GOPATH/bin/devchain
.
CentOS 7
TBD
Docker build
First, install Docker.
Log out and then log back in. Clone the repository from Github to your build machine.
Next, build a Docker image for the build environment.
Finally, you can build the Docker image of the node.
You can now see the Docker image you just built.
Last updated
Was this helpful?