Installing and developing with Hyperledger Composer

来源:互联网 发布:圣剑英雄传 源码 编辑:程序博客网 时间:2024/06/06 17:22

Installing and developing with Hyperledger Composer

Before you begin

Operating Systems: Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit), or Mac OS 10.12Docker Engine: Version 17.03 or higherDocker-Compose: Version 1.8 or higherNode: 6.x (note version 7 is not supported)npm: v3.x or v5.vgit: 2.9.x or higherPython: 2.7.x

Step 1: Installing development tools

npm install -g composer-clinpm install -g generator-hyperledger-composernpm install -g composer-rest-servernpm install -g yo

Step 2: Start Fabric

  1. Download fabric-tools
mkdir ~/fabric-tools && cd ~/fabric-toolscurl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gztar xvzf fabric-dev-servers.tar.gz
  1. Use
cd ~/fabric-tools#下载镜像./downloadFabric.sh#启动Fabric./startFabric.sh#创建composer connection profile./createComposerProfile.sh
阅读全文
0 0