Skip to content

Latest commit

 

History

History
106 lines (67 loc) · 1.7 KB

FabricPrerequisites.md

File metadata and controls

106 lines (67 loc) · 1.7 KB

Hyperledger Fabric Prerequisites

Open this project in Cloud Shell

We need some tools and files:

  • git
  • cURL
  • Docker and Docker Compose
  • NodeJS and NPM
  • Sample, binary and docker images

You can click icon after the command to send the command to cloudshell.

Git

Check git version with command:

git --version

We need at lease version 2.20.1

cURL

Check cURL version with command:

curl --version

We need at lease version 7.64.0

Docker and Docker Compose

Check Docker version with command:

docker --version

We need at lease version 17.06.2

Check Docker Compose version with command:

docker-compose --version

We need at lease version 1.14.0

NodeJS and NPM

Check NodeJS version with command:

node -v

We need at lease version 10.14.2

Check NPM version with command:

npm -v

We need at lease version 6.14.8

Install Samples, Binaries, and Docker Images

The command below demonstrates how to download the latest production releases when created this document - Fabric v2.3.1 and Fabric CA v1.4.9

curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.3.1 1.4.9

Add installed binary into PATH environment variable

export PATH=${PWD}/fabric-samples/bin:$PATH

Test Fabric Network

cd fabric-samples/test-network
./network.sh -h
./network.sh up createChannel -ca -s couchdb
./network.sh down