Skip to content

Commit e58549b

Browse files
committed
doc: cd into ccapi before running
Signed-off-by: osamamagdy <osamamagdy174@gmail.com>
1 parent efdbe02 commit e58549b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

samples/application/ccapi/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ CCAPI is using docker and docker-compose for spinning up all the required compon
2323

2424
Have a look at the [fpc-docker-compose.yaml](./fpc-docker-compose.yaml) to see how we use different env vars. Most of these environment variables are required by any client application to work and communicate with FPC. If you followed the [cc-tools-demo](../../chaincode/cc-tools-demo/README.md) tutorial, the values should be the same.
2525

26-
Start by running `docker-compose -f fpc-docker-compose.yaml up` then go to the browser and type `localhost:80` to open the swagger api and start executing functions.
26+
Start by running:
27+
28+
```bash
29+
cd $FPC_PATH/samples/application/ccapi
30+
docker-compose -f fpc-docker-compose.yaml up
31+
```
32+
33+
then go to the browser and type `localhost:80` to open the swagger api and start executing functions.
2734

2835
## Future work
2936

0 commit comments

Comments
 (0)