Last active
January 29, 2020 16:43
-
-
Save mbwhite/aeed601bce10890b85716063d1122e22 to your computer and use it in GitHub Desktop.
Using Ansible Playbooks for Hyperledger Fabric v2
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
# Download Fabric CLI | |
wget -q -P /tmp https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-linux-amd64-latest.tar.gz | |
sudo tar xzvf /tmp/hyperledger-fabric-linux-amd64-latest.tar.gz -C /usr/local | |
# Download Fabric-ca CLI | |
wget -q -P /tmp https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-ca-linux-amd64-latest.tar.gz | |
sudo tar xzvf /tmp/hyperledger-fabric-ca-linux-amd64-latest.tar.gz -C /usr/local | |
export FABRIC_CFG_PATH=/usr/local/config | |
# Suggest that pipenv is used to isolate environments | |
pipenv install ansible | |
pipenv install docker | |
pipenv shell | |
ansible-playbook network.yml |
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
nvm 12 | |
yo fabric:contract | |
export CORE_PEER_MSPCONFIGPATH=/home/matthew/github.com/ampretia/asset-transfer/wallets/Org1/org1Admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment