Skip to content

Commit

Permalink
[FAB-8122] Updated README.md file- balancetransfer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
susmitasomanchi committed Feb 8, 2018
1 parent 50cb8d9 commit 0daa8bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions balance-transfer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,16 @@ curl -s -X GET \
-H "content-type: application/json"
```

### Clean the network

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.

```
docker rm -f $(docker ps -aq)
docker rmi -f $(docker images | grep dev | awk '{print $3}')
rm -rf fabric-client-kv-org[1-2]
```

### Network configuration considerations

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.
Expand Down

0 comments on commit 0daa8bc

Please sign in to comment.