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 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.124.177