Skip to content

Commit

Permalink
fix: edit readme
Browse files Browse the repository at this point in the history
Signed-off-by: osamamagdy <osamamagdy174@gmail.com>
  • Loading branch information
osamamagdy committed Nov 8, 2024
1 parent 31d982d commit f9e9d15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions samples/chaincode/cc-tools-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ Here are the steps to accomplish this:
## Clone the cc-tools-demo chaincode

We need to clone the chaincode folder from the [cc-tools-demo](https://github.com/hyperledger-labs/cc-tools-demo) repository here.
Note: In some cases, git commands need sudo permissions

**Note**: If you're inside the dev environment, git commands will need sudo permissions

```bash
export ccToolsDemoPath=$FPC_PATH/samples/chaincode/cc-tools-demo
sudo git clone -n --no-checkout --depth=1 --filter=tree:0 https://github.com/hyperledger-labs/cc-tools-demo.git "$ccToolsDemoPath/chaincode"
git clone -n --no-checkout --depth=1 --filter=tree:0 https://github.com/hyperledger-labs/cc-tools-demo.git "$ccToolsDemoPath/chaincode"
cd "$ccToolsDemoPath/chaincode" || { echo "$ccToolsDemoPath/chaincode does not exist" ; exit 1; }
sudo chown -R $USER $ccToolsDemoPath
git config --global --add safe.directory /src/github.com/hyperledger/fabric-private-chaincode/samples/chaincode/cc-tools-demo/chaincode
Expand Down

0 comments on commit f9e9d15

Please sign in to comment.