The following are the installation commands for developing the environment:
- Installing the CLI tools:
npm install -g composer-cli@0.20
- Installing composer-rest-server:
npm install -g composer-rest-server@0.20
- Installing Hyperledger Composer generator:
npm install -g generator-hyperledger-composer@0.20
- Installing Yeoman:
npm install -g yo
- Installing playground:
npm install -g composer-playground
- Installing fabric runtime:
Download and install fabric runtime for the composer as follows:
mkdir ~/fabric-devserver && cd ~/fabric-devserver
curl -O https://raw.githubusercontent.com/hyperledger/composer-
tools/master/packages/fabric-dev-servers/fabric-dev-servers.zip
unzip fabric-dev-servers.zip
export FABRIC_VERSION=hlfv12
./downloadFabric.sh
At this step, you have installed everything required for the typical composer development environment.