Setting up a Hyperledger Composer environment
We just reviewed the Hyperledger Composer solution architecture. In this section, we will set up the Hyperledger development environment.
Installation prerequisites
Before we install the composer tools, make sure you have the required prerequisites by following the Setup of Hyperledger Fabric environment—installing prerequisites section.
Â
Installing the development environment
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...