From e11d6308a63fadb481f91b3aa3421e788aa90466 Mon Sep 17 00:00:00 2001 From: osamamagdy Date: Tue, 26 Nov 2024 21:39:16 +0200 Subject: [PATCH] feat: relocate extra compose file Signed-off-by: osamamagdy --- samples/chaincode/cc-tools-demo/README.md | 4 ++-- .../cc-tools-demo}/cc-tools-demo-compose.yaml | 0 samples/chaincode/cc-tools-demo/testTutorial.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename samples/{deployment/test-network => chaincode/cc-tools-demo}/cc-tools-demo-compose.yaml (100%) diff --git a/samples/chaincode/cc-tools-demo/README.md b/samples/chaincode/cc-tools-demo/README.md index d51a76966..77ed95862 100644 --- a/samples/chaincode/cc-tools-demo/README.md +++ b/samples/chaincode/cc-tools-demo/README.md @@ -265,12 +265,12 @@ From the code above, we need to set two env variables for the chaincode applicat - FPC_ENABLED=true ``` -To achieve this, we created extra configurations for the start command at `$FPC_PATH/samples/deployment/test-network/cc-tools-demo-compose.yaml`. +To achieve this, we created extra configurations for the start command at `$FPC_PATH/samples/chaincode/cc-tools-demo/cc-tools-demo-compose.yaml`. Continue by running: ```bash -export EXTRA_COMPOSE_FILE="$FPC_PATH/samples/deployment/test-network/cc-tools-demo-compose.yaml" +export EXTRA_COMPOSE_FILE="$FPC_PATH/samples/chaincode/cc-tools-demo/cc-tools-demo-compose.yaml" make ercc-ecc-start ``` diff --git a/samples/deployment/test-network/cc-tools-demo-compose.yaml b/samples/chaincode/cc-tools-demo/cc-tools-demo-compose.yaml similarity index 100% rename from samples/deployment/test-network/cc-tools-demo-compose.yaml rename to samples/chaincode/cc-tools-demo/cc-tools-demo-compose.yaml diff --git a/samples/chaincode/cc-tools-demo/testTutorial.sh b/samples/chaincode/cc-tools-demo/testTutorial.sh index d18016838..aa521bc52 100644 --- a/samples/chaincode/cc-tools-demo/testTutorial.sh +++ b/samples/chaincode/cc-tools-demo/testTutorial.sh @@ -48,7 +48,7 @@ export CC_VER=$(cat "$FPC_PATH/samples/chaincode/cc-tools-demo/mrenclave") cd $FPC_PATH/samples/deployment/test-network ./installFPC.sh sleep 5 -export EXTRA_COMPOSE_FILE="$FPC_PATH/samples/deployment/test-network/cc-tools-demo-compose.yaml" +export EXTRA_COMPOSE_FILE="$FPC_PATH/samples/chaincode/cc-tools-demo/cc-tools-demo-compose.yaml" make ercc-ecc-start sleep 5