Skip to content

Commit

Permalink
fix(tools): fix the wallet config of fabcar chaincode on tools/docker…
Browse files Browse the repository at this point in the history
…/fabric ledger

Signed-off-by: Takuma TAKEUCHI <takeuchi.takuma@fujitsu.com>
  • Loading branch information
takeutak authored and petermetz committed Oct 5, 2021
1 parent 8a0d182 commit 7ab0c44
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 29 deletions.
22 changes: 18 additions & 4 deletions tools/docker/fabric14-fabcar-testnet/script-start-docker.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
# Copyright 2020-2021 Hyperledger Cactus Contributors
# SPDX-License-Identifier: Apache-2.0
echo "[process] start docker environment for Fabric testnet"
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 1.4.12 1.4.9 0.4.22
cp -a wallet fabric-samples/fabcar/javascript
cp -a wallet ../../../examples/cartrade/script-test-getFunctions/fabric
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 1.4.1 1.4.1 0.4.22

if [ -d fabric-samples/fabcar/javascript/wallet ]; then
rm -r fabric-samples/fabcar/javascript/wallet
fi
if [ -d ../../../packages/cactus-plugin-ledger-connector-fabric-socketio/wallet ]; then
rm -r ../../../packages/cactus-plugin-ledger-connector-fabric-socketio/wallet
fi
if [ -d ../../../examples/cartrade/script-test-getFunctions/fabric/wallet ]; then
rm -r ../../../examples/cartrade/script-test-getFunctions/fabric/wallet
fi
#cp -a wallet fabric-samples/fabcar/javascript
#cp -a wallet ../../../examples/cartrade/script-test-getFunctions/fabric
cd fabric-samples/fabcar
./startFabric.sh
cd javascript
npm install
node enrollAdmin.js
node registerUser.js
node registerUser.js
cp -a wallet ../../../../../../packages/cactus-plugin-ledger-connector-fabric-socketio
cp -a wallet ../../../../../../examples/cartrade/script-test-getFunctions/fabric/wallet

This file was deleted.

1 change: 0 additions & 1 deletion tools/docker/fabric14-fabcar-testnet/wallet/admin/admin

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion tools/docker/fabric14-fabcar-testnet/wallet/user1/user1

This file was deleted.

0 comments on commit 7ab0c44

Please sign in to comment.