-
Install Hyperledger fabric dependencies: https://hyperledger-fabric.readthedocs.io/en/release-1.4/prereqs.html
-
Donwload fabric binaries and samples:
curl -sSL http://bit.ly/2ysbOFE | bash -s 1.4.3
-
Go to fabric samples
cd fabric-samples
-
Pull code from git
-
Go to the code
-
Install node-js dependencies & supply network
./network.sh install
-
Generate the crypto material and start the network
./network.sh start
This will create the crypto material for all the orgs, start the network and register it's admins and users. -
Run and build project
docker-compose up -d --build
-
stop network
./network.sh stop