Skip to content

Commit

Permalink
feat: relocate extra compose file
Browse files Browse the repository at this point in the history
Signed-off-by: osamamagdy <[email protected]>
  • Loading branch information
osamamagdy committed Nov 26, 2024
1 parent c3150b6 commit e11d630
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions samples/chaincode/cc-tools-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion samples/chaincode/cc-tools-demo/testTutorial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e11d630

Please sign in to comment.