Created
September 15, 2021 08:29
-
-
Save mbwhite/cdf599f0b780126bfb77f4f22dd44857 to your computer and use it in GitHub Desktop.
Running Fabric-Samples
This file contains 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
Clone the samples repo to a clean directory by | |
``` | |
git clone https://github.com/hyperledger/fabric-samples.git | |
git checkout release-2.2 # <<< ONLY if you want to use the 2.2.4 release | |
``` | |
OR if you've already cloned it | |
``` | |
git clean -xdf | |
git origin # check with git remote -v to see if the main repo is upstream or origin | |
git pull | |
``` | |
``` | |
cd fabric-samples | |
# best to run the new install script | |
~/github.com/hyperledger/fabric/scripts/install-fabric.sh docker binary -f 2.2.4 | |
./bin/peer version | |
peer: | |
Version: 2.2.4 | |
Commit SHA: 263ca9e14 | |
Go version: go1.16.7 | |
OS/Arch: linux/amd64 | |
Chaincode: | |
Base Docker Label: org.hyperledger.fabric | |
Docker Namespace: hyperledger | |
cd test-network | |
./network.sh down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment