IBM / blockchainbean2

This code pattern shows how to model a supply-chain network using the IBM Blockchain Platform and is based on a collaboration with Brooklyn Roasting Company. The story, along with the supply-chain documents that were used to model this network, can be found at: https://www.ibm.com/blockchainbean. Note that the 'view the blockchain' button is being migrated''
https://developer.ibm.com/patterns/coffee-supply-chain-network-hyperledger-fabric-blockchain-2/
122 stars 84 forks source link

Deploy on basic network #6

Closed edwardtamkingfai closed 5 years ago

edwardtamkingfai commented 5 years ago

Can you please show how to deploy the contract on a "basic-network" found on Hyperledger's fabric-samples?

Would like to try this out on this instead of "local fabric" generated by Visual Studio.

Thanks.

horeaporutiu commented 5 years ago

Currently, creating documentation to show how to deploy this contract on "basic-network" is not a high priority. The reason is that the documentation is already there - https://hyperledger-fabric.readthedocs.io/en/release-1.4/tutorial/commercial_paper.html?highlight=basic-network. Instead of pointing the peer chaincode install command to the commercialpaper/organization/magnetocorp/contract directory, you would point it to the https://github.com/IBM/blockchainbean2/tree/master/lib directory on your local computer. After that, the commands are more or less the same.