Skip to content

Instantly share code, notes, and snippets.

@mbwhite
Created September 15, 2021 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbwhite/cdf599f0b780126bfb77f4f22dd44857 to your computer and use it in GitHub Desktop.
Save mbwhite/cdf599f0b780126bfb77f4f22dd44857 to your computer and use it in GitHub Desktop.
Running Fabric-Samples
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