Facebook pixel Setting up your Developer Environment
Intro to Private Blockchains

Setting up your Developer Environment



It’s as easy as 1, 2, 3, 4, 5, 6 … 42… 101… etc. Keep in mind, setting up one node is just the beginning. To fully test Hyperledger, you’ll want to create an entire local network using Docker. We’ll get to that shortly.

As you might expect, there are a myriad of ways to setup up a local development environment and configurations can vary widely. We’ll help you get started with some basics and hopefully save you some headaches. To start, open up a shell and let’s get on with the good stuff! For each dependency listed below, run the command shown to verify that it’s installed correctly. If it is not installed, you will need to install binaries from either a package manager or directly.

These installation instructions are specifically for Mac OS X. Ubuntu installation instructions will be the same, but Homebrew will not be required.

DEPENDENCIES

Before we get started, use the following commands to verify that you have the correct software installed. If it fails, click the link in each description for full installation details.

Homebrew

If you’re using a Mac, check your homebrew version with the following command. ( Install Homebrew Here )

>_

Check that homebrew is installed

alex@ubuntu: ~/ $ brew -v

Curl

We’ll need curl to download some example files. ( Install Here )

>_

Check that homebrew is installed

alex@ubuntu: ~/ $ curl --version

Docker

Docker is a tool that creates controlled execution environments to support node simulations. For this course we’ll need you to have docker and docker-compose. ( Install Here )

>_

Check that docker is installed

alex@ubuntu: ~/ $ docker --version
alex@ubuntu: ~/ $ docker-compose ---version

Go

Go is a scripting language which can be used to write Hyperledger chaincode. ( Install Here )

>_

Check that Go is installed

alex@ubuntu: ~/ $ go version

Get Involved

The best part of blockchain is that anyone can get involved!