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 [email protected]
- Installing
composer-rest-server
:
npm install -g [email protected]
- Installing Hyperledger Composer generator:
npm install -g [email protected]
- 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...