In this post I will give you clear steps that you can follow to get started with Hyperledger Fabric quickly in Ubuntu 18.04.
First.. we need to install some prerequisites: curl, git, docker, docker-compose, golang, nodejs, npm
[NOTE: you need to logout and login back in order to use docker without superuser rights]
Install samples and binaries
Now for installing fabric samples and binaries, they provide a simple script to make your life easy also make the process obfuscated so that we need to put some extra effort to understand what is going on underneath. Anyways, we just want to set up our first fabric sample asap so just do the following:
[NOTE: this will take time as the size of the docker images are pretty large.]
This will clone fabric-samples in you present working directory which we are going to use in the upcoming steps.
Building Your First Network
We will be running the first-network sample.
Now, we need to generate the certs and genesis blocks. Then start the test network.
You should see the following upon successful execution:
Now bring down the network:
Posted with Tags: