Skip to content

Commit

Permalink
updated setup scripts to composer 0.16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Dill committed Jun 28, 2018
1 parent 9b39f36 commit 4d86440
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions Chapter13/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ rules:
- args: none
no-console: off
no-case-declarations: off
no-tabs: off
curly: error
eqeqeq: error
no-throw-literal: error
Expand Down
6 changes: 3 additions & 3 deletions setup_OSX.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ function installNodeDev ()
if [[ $SDK_INSTALL == "true" ]]; then
showStep "The composer-cli contains all the command line operations for developing business networks."
npm uninstall -g composer-cli
npm install -g [email protected].0
npm install -g [email protected].2
showStep "The generator-hyperledger-composer is a Yeoman plugin that creates bespoke applications for your business network."
npm uninstall -g generator-hyperledger-composer
npm install -g [email protected].0
npm install -g [email protected].2
showStep "The composer-rest-server uses the Hyperledger Composer LoopBack Connector to connect to a business network, extract the models and then present a page containing the REST APIs that have been generated for the model."
npm uninstall -g composer-rest-server
npm install -g [email protected].0
npm install -g [email protected].2

showStep "Yeoman is a tool for generating applications. When combined with the generator-hyperledger-composer component, it can interpret business networks and generate applications based on them."
npm install -g yo
Expand Down
6 changes: 3 additions & 3 deletions setup_Ubuntu_Part_1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ function installNodeDev ()
if [[ $SDK_INSTALL == "true" ]]; then
showStep "The composer-cli contains all the command line operations for developing business networks."
npm uninstall -g composer-cli
npm install -g --python=python2.7 [email protected].0
npm install -g --python=python2.7 [email protected].2
showStep "The generator-hyperledger-composer is a Yeoman plugin that creates bespoke applications for your business network."
npm uninstall -g generator-hyperledger-composer
npm install -g --python=python2.7 [email protected].0
npm install -g --python=python2.7 [email protected].2
showStep "The composer-rest-server uses the Hyperledger Composer LoopBack Connector to connect to a business network, extract the models and then present a page containing the REST APIs that have been generated for the model."
npm uninstall -g composer-rest-server
npm install -g --python=python2.7 [email protected].0
npm install -g --python=python2.7 [email protected].2
showStep "Yeoman is a tool for generating applications. When combined with the generator-hyperledger-composer component, it can interpret business networks and generate applications based on them."
npm install -g --python=python2.7 yo
else
Expand Down

0 comments on commit 4d86440

Please sign in to comment.