Creating and Deploying Business Network Application
- Start Docker
- docker-machine start
- docker-machine env
- eval $(docker-machine env)
- Start Hyperledger Fabric
- ./startFabric.sh
- Create Peer Admin Card
- ./createPeerAdminCard.sh
- Create Business Network Application by using Yo Generator
- yo hyperledger-composer
- Create dist folder (manually) and .bna file
- Deploy the .bna file to Playground (using Drop here to upload or browse icon)
=>
- Install the Network Application to Fabric
- composer network start -c PeerAdmin@hlfv1 -n app2 -V 0.0.1 -A admin -S adminpw
- Start BNA on Fabric
- composer card import -f ./admin\@app2.card
- Ping to check if the app is available
- composer network ping --card admin@app2
- run the command to get information about the assets and registries
댓글 없음:
댓글 쓰기