Skip to content

Commit 0daa8bc

Browse files
[FAB-8122] Updated README.md file- balancetransfer
FIX [FAB-8122] Added steps to clear containers and artifacts before starting the network manually. Change-Id: I83abd30e0080ff2395d91c76029a3527e4e69de4 Signed-off-by: susmita <susmita.somanchi@gmail.com>
1 parent 50cb8d9 commit 0daa8bc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

balance-transfer/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,16 @@ curl -s -X GET \
267267
-H "content-type: application/json"
268268
```
269269

270+
### Clean the network
271+
272+
The network will still be running at this point. Before starting the network manually again, here are the commands which cleans the containers and artifacts.
273+
274+
```
275+
docker rm -f $(docker ps -aq)
276+
docker rmi -f $(docker images | grep dev | awk '{print $3}')
277+
rm -rf fabric-client-kv-org[1-2]
278+
```
279+
270280
### Network configuration considerations
271281

272282
You have the ability to change configuration parameters by either directly editing the network-config.yaml file or provide an additional file for an alternative target network. The app uses an optional environment variable "TARGET_NETWORK" to control the configuration files to use. For example, if you deployed the target network on Amazon Web Services EC2, you can add a file "network-config-aws.yaml", and set the "TARGET_NETWORK" environment to 'aws'. The app will pick up the settings inside the "network-config-aws.yaml" file.

0 commit comments

Comments
 (0)