Skip to content

Commit df4b240

Browse files
committed
improvement for readme
1 parent 3f931c8 commit df4b240

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Features/dockerform-yocordapp/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dockerform-yocordapp
22

3-
This time we've taken the original yo cordapp and modified it to demonstrate an example of how you can use dockerForm to bootstrap a corda network.
3+
This time we've taken the original yo cordapp and modified it to demonstrate an example of how you can use dockerForm to bootstrap a corda network on a single machine.
44

55
For the purposes of this example, we'll use the yo cordapp as a base to create a clear example for how to use the dockerForm gradle build task in a normal cordapp setup.
66

@@ -24,9 +24,6 @@ We define a state (the yo to be shared), define a contract (the way to make sure
2424
If you have docker installed you can use our gradle tasks to generate a valid docker compose file for your node configuration.
2525

2626
```bash
27-
# clone the repository
28-
git clone https://github.com/davidawad/corda-docker-yo-demo && cd corda-docker-yo-demo
29-
3027
# generate the docker-compose file
3128
./gradlew prepareDockerNodes
3229

@@ -74,3 +71,9 @@ To see all the Yo's other nodes have sent you in your vault you can run a vault
7471
```bash
7572
run vaultQuery contractStateType: net.corda.examples.yo.states.YoState
7673
```
74+
75+
As a quick note you can shut down your docker containers with the following command
76+
77+
```bash
78+
docker-compose -f ./build/nodes/docker-compose.yml stop
79+
```

0 commit comments

Comments
 (0)