Environment: Hyperledger Fabric v1.2
Fabric uses 'npm install --production' to build chaincode docker image.
And run CC by using 'npm start -- --peer.address'
So, only following files are needed to be released
And webpack is most popular tool for this requirements.
And in case that all source codes are bundled to one file - bundle.js - then, releasing only three files are enough!
And 'npm start' may look like 'node bundle.js'.
'Domain > Blockchain-DLT' 카테고리의 다른 글
|[HLF] Things to know to build your first network with docker-compose. (0)||2019.05.03|
|[DLT][HLF] Distribute(Release) NodeJs Chaincode (0)||2019.05.03|
|[DLT][HLF] Structure of ‘msp’ directory generated by ‘cryptogen’ tool (0)||2019.05.03|
|[DLT] Review: Hyperledger Fabric (v1.2.x) (0)||2019.05.03|