您的位置:首页 > 运维架构

Installing and developing with Hyperledger Composer

2017-11-16 15:01 393 查看

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.12
Docker Engine: Version 17.03 or higher
Docker-Compose: Version 1.8 or higher
Node: 6.x (note version 7 is not supported)
npm: v3.x or v5.v
git: 2.9.x or higher
Python: 2.7.x


Step 1: Installing development tools

npm install -g composer-cli

npm install -g generator-hyperledger-composer

npm install -g composer-rest-server

npm install -g yo


Step 2: Start Fabric

Download fabric-tools

mkdir ~/fabric-tools && cd ~/fabric-tools
curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gz 
tar xvzf fabric-dev-servers.tar.gz


Use

cd ~/fabric-tools
#下载镜像
./downloadFabric.sh
#启动Fabric
./startFabric.sh
#创建composer connection profile
./createComposerProfile.sh
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐