Skip to content

Instantly share code, notes, and snippets.

@kctam
Created July 10, 2020 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kctam/5a1e436897e02e85ea2594ac8e9bac73 to your computer and use it in GitHub Desktop.
Save kctam/5a1e436897e02e85ea2594ac8e9bac73 to your computer and use it in GitHub Desktop.
Companion Guide for Fabric CA Operation Guide - script
docker-compose up -d peer1-org1 peer2-org1 peer1-org2 peer2-org2
sleep 5
configtxgen -profile OrgsOrdererGenesis -outputBlock /tmp/hyperledger/org0/orderer/genesis.block -channelID syschannel
sleep 5
configtxgen -profile OrgsChannel -outputCreateChannelTx /tmp/hyperledger/org0/orderer/channel.tx -channelID mychannel
sleep 5
docker-compose up -d orderer1-org0 cli-org1 cli-org2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment