Hyperledger-composer and playgro
2018-07-06 本文已影响0人
626ab7331d95
1.创建目录
mkdir HyperledgerComposer
2.进入目录
cd HyperledgerComposer
3.脚本安装nvm (非全局代理)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
4.( mac )bash_profile
touch .bash_profile
5.脚本安装nvm(全局代理)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
6.查看nvm版本
nvm —-version
7.Install the latest (long term support) version of Node
nvm install --lts
8.Switch to the LTS version of Node
nvm use --lts
9.Check that Node is installed
node --version
10.(非全局代理)Essential CLI tools
npm install -g composer-cli
11.(非全局代理)安装
npm install -g composer-rest-server
12.(全局代理)安装
npm install -g composer-rest-server
13.(全局代理)安装
npm install -g composer-cli
14. (非全局代理)安装
npm install -g generator-hyperledger-composer
15.Yeoman is a tool for generating applications, which utilises generator-hyperledger-composer
npm install -g yo
16.全局代理安装
npm install -g composer-playground
17.全局代理安装
npm install -g generator-hyperledger-composer