Environment variables
Add fabric /build/bin to your PATH
.
Set FABRIC_CFG_PATH
to fabric /sampleconfig directory, which contains sample orderer.yaml, peer.yaml, configtx.yaml, and msp for a SampleOrg.
Open three terminal windows, one each for orderer, peer, and CLI.
Build fabric binaries in one of the terminals:
make orderer peer configtxgen
orderer terminal
Create a system channel genesis block:
configtxgen -profile SampleSingleMSPSolo -channelID test-system-channel-name -outputBlock sampleconfig/genesisblock
Start orderer, which by default will use /sampleconfig/genesisblock:
orderer