Created
June 29, 2018 11:20
-
-
Save UbuntuEvangelist/0c605564ba10c727c1becb1661724b07 to your computer and use it in GitHub Desktop.
Hyperledger Composer Playground Install Ubuntu!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ## inherit from https://chaincodedevs.com/showthread.php?tid=3 | |
| ## https://www.youtube.com/channel/UCIQAZN1lUU4vHCRJY_maOfw | |
| sudo adduser playground | |
| sudo usermod -aG sudo playground | |
| sudo su - playground | |
| sudo curl -O https://hyperledger.github.io/composer/latest/prereqs-ubuntu.sh | |
| sudo chmod u+x prereqs-ubuntu.sh | |
| sudo ./prereqs-ubuntu.sh | |
| sudo su - playground | |
| sudo npm install -g composer-cli | |
| sudo npm install -g composer-rest-server | |
| sudo npm install -g generator-hyperledger-composer | |
| sudo npm install -g yo | |
| sudo npm install -g composer-playground | |
| sudo mkdir ~/fabric-tools && cd ~/fabric-tools | |
| sudo curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gz | |
| sudo tar -xvf fabric-dev-servers.tar.gz | |
| sudo ./downloadFabric.sh | |
| sudo composer-playground | |
| ## Login from browser URL | |
| ## xdg-open http://167.99.205.169:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment