mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-18 16:05:10 +00:00
Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb39b6ed09 |
17 changed files with 30 additions and 30 deletions
|
|
@ -13,7 +13,7 @@ The [`scripts/bootstrap.sh`](https://github.com/hyperledger/fabric-samples/blob/
|
||||||
script will preload all of the requisite docker
|
script will preload all of the requisite docker
|
||||||
images for Hyperledger Fabric and tag them with the 'latest' tag. Optionally,
|
images for Hyperledger Fabric and tag them with the 'latest' tag. Optionally,
|
||||||
specify a version for fabric, fabric-ca and thirdparty images. Default versions
|
specify a version for fabric, fabric-ca and thirdparty images. Default versions
|
||||||
are 1.4.0-rc2, 1.4.0-rc2 and 0.4.14 respectively.
|
are 1.4.0, 1.4.0 and 0.4.14 respectively.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]
|
./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@
|
||||||
"engine-strict": true,
|
"engine-strict": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@
|
||||||
"express-bearer-token": "^2.1.0",
|
"express-bearer-token": "^2.1.0",
|
||||||
"express-jwt": "^5.1.0",
|
"express-jwt": "^5.1.0",
|
||||||
"express-session": "^1.15.2",
|
"express-session": "^1.15.2",
|
||||||
"fabric-ca-client": "1.4.0-rc2",
|
"fabric-ca-client": "~1.4.0",
|
||||||
"fabric-client": "1.4.0-rc2",
|
"fabric-client": "~1.4.0",
|
||||||
"fs-extra": "^2.0.0",
|
"fs-extra": "^2.0.0",
|
||||||
"jsonwebtoken": "^7.3.0",
|
"jsonwebtoken": "^7.3.0",
|
||||||
"log4js": "^0.6.38"
|
"log4js": "^0.6.38"
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,8 @@
|
||||||
"express": "^4.16.1",
|
"express": "^4.16.1",
|
||||||
"express-jwt": "^5.3.0",
|
"express-jwt": "^5.3.0",
|
||||||
"express-session": "^1.15.6",
|
"express-session": "^1.15.6",
|
||||||
"fabric-ca-client": "1.4.0-rc2",
|
"fabric-ca-client": "~1.4.0",
|
||||||
"fabric-client": "1.4.0-rc2",
|
"fabric-client": "~1.4.0",
|
||||||
"log4js": "^0.6.38"
|
"log4js": "^0.6.38"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@
|
||||||
"engine-strict": true,
|
"engine-strict": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,6 @@
|
||||||
"engine-strict": true,
|
"engine-strict": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@
|
||||||
"author": "Hyperledger",
|
"author": "Hyperledger",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-contract-api": "1.4.0-rc2",
|
"fabric-contract-api": "~1.4.0",
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^4.1.2",
|
"chai": "^4.1.2",
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@
|
||||||
"author": "Hyperledger",
|
"author": "Hyperledger",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-contract-api": "1.4.0-rc2",
|
"fabric-contract-api": "~1.4.0",
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.1.7",
|
"@types/chai": "^4.1.7",
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@
|
||||||
"engine-strict": true,
|
"engine-strict": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-network": "1.4.0-rc2",
|
"fabric-network": "~1.4.0",
|
||||||
"fabric-client": "1.4.0-rc2",
|
"fabric-client": "~1.4.0",
|
||||||
"js-yaml": "^3.12.0"
|
"js-yaml": "^3.12.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
"author": "hyperledger",
|
"author": "hyperledger",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-contract-api": "1.4.0-rc2",
|
"fabric-contract-api": "~1.4.0",
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^4.1.2",
|
"chai": "^4.1.2",
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-network": "1.4.0-rc2",
|
"fabric-network": "~1.4.0",
|
||||||
"fabric-client": "1.4.0-rc2",
|
"fabric-client": "~1.4.0",
|
||||||
"js-yaml": "^3.12.0"
|
"js-yaml": "^3.12.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
"author": "hyperledger",
|
"author": "hyperledger",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-contract-api": "1.4.0-rc2",
|
"fabric-contract-api": "~1.4.0",
|
||||||
"fabric-shim": "1.4.0-rc2"
|
"fabric-shim": "~1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^4.1.2",
|
"chai": "^4.1.2",
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-ca-client": "1.4.0-rc2",
|
"fabric-ca-client": "~1.4.0",
|
||||||
"fabric-client": "1.4.0-rc2",
|
"fabric-client": "~1.4.0",
|
||||||
"grpc": "^1.6.0"
|
"grpc": "^1.6.0"
|
||||||
},
|
},
|
||||||
"author": "Anthony O'Dowd",
|
"author": "Anthony O'Dowd",
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
"author": "Hyperledger",
|
"author": "Hyperledger",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-ca-client": "1.4.0-rc2",
|
"fabric-ca-client": "~1.4.0",
|
||||||
"fabric-network": "1.4.0-rc2"
|
"fabric-network": "~1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
"author": "Hyperledger",
|
"author": "Hyperledger",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fabric-ca-client": "1.4.0-rc2",
|
"fabric-ca-client": "~1.4.0",
|
||||||
"fabric-network": "1.4.0-rc2"
|
"fabric-network": "~1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.1.7",
|
"@types/chai": "^4.1.7",
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# if version not passed in, default to latest released version
|
# if version not passed in, default to latest released version
|
||||||
export VERSION=1.4.0-rc2
|
export VERSION=1.4.0
|
||||||
# if ca version not passed in, default to latest released version
|
# if ca version not passed in, default to latest released version
|
||||||
export CA_VERSION=$VERSION
|
export CA_VERSION=$VERSION
|
||||||
# current version of thirdparty images (couchdb, kafka and zookeeper) released
|
# current version of thirdparty images (couchdb, kafka and zookeeper) released
|
||||||
|
|
@ -32,8 +32,8 @@ printHelp() {
|
||||||
echo "-d - bypass docker image download"
|
echo "-d - bypass docker image download"
|
||||||
echo "-b - bypass download of platform-specific binaries"
|
echo "-b - bypass download of platform-specific binaries"
|
||||||
echo
|
echo
|
||||||
echo "e.g. bootstrap.sh 1.4.0-rc2 1.4.0-rc2 0.4.14"
|
echo "e.g. bootstrap.sh 1.4.0 1.4.0 0.4.14"
|
||||||
echo "would download docker images and binaries for version 1.4.0-rc2 (fabric) 1.4.0-rc2 (fabric-ca) 0.4.14 (thirdparty)"
|
echo "would download docker images and binaries for version 1.4.0 (fabric) 1.4.0 (fabric-ca) 0.4.14 (thirdparty)"
|
||||||
}
|
}
|
||||||
|
|
||||||
dockerFabricPull() {
|
dockerFabricPull() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue