-
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:
-
Copy bin folder to your project folder
Fill mongodb_uri in .env
sudo service mongod start
- Generate the crypto material and start the network cd supply-chain
./network.sh start
This will create the crypto material for all the orgs, start the network and register it's admins and users. Then will start the API at localhost:3000
cd client/app
config env file
yarn install
yarn start
username: adminproducer password: producer
cd supply-chain
npm start
cd supply-chain
./network.sh stop