|
@@ -54,7 +54,7 @@ function create_ca() {
|
|
|
|
|
|
mkdir -p $dir/scripts
|
|
mkdir -p $dir/scripts
|
|
cp -rf examples $dir
|
|
cp -rf examples $dir
|
|
- cp -rf crypto-config $dir
|
|
|
|
|
|
+ cp -rf channel $dir
|
|
cp -rf fabricca $dir
|
|
cp -rf fabricca $dir
|
|
cp -rf scripts $dir
|
|
cp -rf scripts $dir
|
|
cp -rf docker-compose $dir
|
|
cp -rf docker-compose $dir
|
|
@@ -94,8 +94,7 @@ function create_orderer() {
|
|
chmod u+x $dir/download-dockerimages.sh
|
|
chmod u+x $dir/download-dockerimages.sh
|
|
chmod u+x $dir/start.sh
|
|
chmod u+x $dir/start.sh
|
|
|
|
|
|
- mkdir -p $dir/crypto-config
|
|
|
|
- cp -rf crypto-config $dir/
|
|
|
|
|
|
+ cp -rf channel $dir
|
|
cp -rf docker-compose $dir
|
|
cp -rf docker-compose $dir
|
|
cp -rf docker-compose-orderer0.yaml $dir
|
|
cp -rf docker-compose-orderer0.yaml $dir
|
|
tar -cvf "$dir"0.tar $dir
|
|
tar -cvf "$dir"0.tar $dir
|
|
@@ -130,7 +129,7 @@ function create_peer() {
|
|
cp -rf docker-compose $project
|
|
cp -rf docker-compose $project
|
|
cp -rf docker-compose-peer"$N".yaml $project
|
|
cp -rf docker-compose-peer"$N".yaml $project
|
|
cp -rf peer-base/peer-base.yaml $project/peer-base/peer-base.yaml
|
|
cp -rf peer-base/peer-base.yaml $project/peer-base/peer-base.yaml
|
|
- cp -rf crypto-config $project/
|
|
|
|
|
|
+ cp -rf channel $project/
|
|
tar -cvf "$project"_peer$N.tar $project
|
|
tar -cvf "$project"_peer$N.tar $project
|
|
gzip "$project"_peer$N.tar
|
|
gzip "$project"_peer$N.tar
|
|
rm -rf $project
|
|
rm -rf $project
|