PostList

2018년 8월 13일 월요일

Creating and Deploying Business Network Application

Creating and Deploying Business Network Application

  1. Start Docker
    1. docker-machine start
    2. docker-machine env
    3. eval $(docker-machine env)
  2. Start Hyperledger Fabric
    1. ./startFabric.sh
  3. Create Peer Admin Card
    1. ./createPeerAdminCard.sh
  4. Create Business Network Application by using Yo Generator
    1. yo hyperledger-composer
    1. Create dist folder (manually) and .bna file


  1. Deploy the .bna file to Playground (using Drop here to upload or browse icon)
=>


  1. Install the Network Application to Fabric
    1. composer network start -c PeerAdmin@hlfv1 -n app2 -V 0.0.1 -A admin -S adminpw
  1. Start BNA on Fabric
    1. composer card import -f ./admin\@app2.card
  1. Ping to check if the app is available
    1. composer network ping --card admin@app2


  1. run the command to get information about the assets and registries

댓글 없음:

댓글 쓰기