Samples for Hyperledger Fabric
Find a file
Simon Stone abbda9575f [FAB-15897] Improve FabCar test logging
Collect logs from all existing Docker containers instead
of just limiting it to a predefined (and incorrect) set.

Also clean up the directory structure for the logs, and
remove any networks/volumes after each test run.

Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
Change-Id: Ifcf88baeb9ba4d42f757f7cd23ab2a178ab39b41
2019-07-29 11:03:10 +01:00
.github Configure Stale ProBot 2018-12-30 02:02:14 -08:00
basic-network Use official CouchDB image 2019-05-05 09:01:01 -04:00
chaincode [FAB-15927] Better expression for golang 2019-07-17 07:48:48 +00:00
chaincode-docker-devmode Merge "[FAB-15723] Fix script and instruction with ccenv" 2019-07-10 09:45:20 +00:00
commercial-paper [FAB-15717] fix Error Unexpected end of JSON input 2019-06-18 14:56:18 +00:00
docs [FAB-15573] Fix typo in fabric-samples-ci.md 2019-06-04 21:23:14 +00:00
fabcar [FAB-15897] Improve FabCar test logging 2019-07-29 11:03:10 +01:00
fabtoken [FABN-1184] Update fabtoken/README.md 2019-04-11 15:45:59 +00:00
first-network [FAB-15973] use --output json on simulatecommit 2019-07-16 12:24:11 -04:00
high-throughput Merge "FAB-15782 Sample Go CC should include deps" 2019-07-11 20:00:09 +00:00
interest_rate_swaps QueryApprovalStatus -> SimulateCommitChaincodeDef 2019-07-02 13:37:20 -04:00
scripts [FAB-15897] Improve FabCar test logging 2019-07-29 11:03:10 +01:00
.gitignore FAB-15782 Sample Go CC should include deps 2019-06-25 09:50:31 -04:00
.gitreview [FAB-9893] Add .gitreview file for quicker Gerrit setup 2018-05-04 11:46:33 -04:00
ci.properties Update to Go 1.12.5 in ci.properties 2019-06-25 05:12:48 -04:00
CODE_OF_CONDUCT.md FAB-9362 add CONTRIBUTING.md and CODE_OF_CONDUCT.md 2018-04-04 19:25:55 -04:00
CONTRIBUTING.md Fix doc link 2019-01-24 16:47:03 +08:00
Jenkinsfile [FABN-1184] Add CI script for fabtoken sample app 2019-04-11 09:53:48 -04:00
LICENSE FAB-4853 initial content 2017-06-21 07:30:04 +08:00
MAINTAINERS.md Update maintainers for fabric-samples 2019-04-11 00:30:20 -04:00
README.md [FAB-15104] Remove versions from fabric-samples readme 2019-07-19 19:12:07 +00:00

Hyperledger Fabric Samples

Please visit the installation instructions to ensure you have the correct prerequisites installed. Please use the version of the documentation that matches the version of the software you intend to use to ensure alignment.

Download Binaries and Docker Images

The installation instructions will utilize scripts/bootstrap.sh (available in the fabric repository) script to download all of the requisite Hyperledger Fabric binaries and docker images, and tag the images with the 'latest' tag. Optionally, specify a version for fabric, fabric-ca and thirdparty images. If versions are not passed, the latest available versions will be downloaded.

The script will also clone fabric-samples repository using the version tag that is aligned with the Fabric version.

You can also download the script and execute locally:

# Fetch bootstrap.sh from fabric repository using
curl -sS https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh -o ./scripts/bootstrap.sh
# Change file mode to executable
chmod +x ./scripts/bootstrap.sh
# Download binaries and docker images
./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]

Continuous Integration

Please have a look at Continuous Integration Process

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.