Skip to content

Commit b87b0fb

Browse files
authored
Update README.md
1 parent 720cbd9 commit b87b0fb

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Advanced/obligation-cordapp/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,25 @@ Then type: (to run the nodes)
4040
./build/nodes/runnodes
4141
```
4242

43+
### Starting the webserver
44+
Once the nodes are up, we will start the webservers next. This app consists of three nodes and one notary, so we will be starting 3 webservers separately. First, lets start PartyA's webserver. Open a new tab of the terminal (make sure you are still in the project directory) and run:
45+
```
46+
./gradlew runPartyAServer
47+
```
48+
repeat the same for PartyB and PartyC, run each of the commands in a new tab:
49+
```
50+
./gradlew runPartyBServer
51+
```
52+
and
53+
```
54+
./gradlew runPartyCServer
55+
```
56+
4357
### Interacting with the CorDapp
4458

45-
Once all the three nodes have started up (look for `Webserver started up in XXX sec` in the terminal or IntelliJ ), you can interact with the app via a web browser.
59+
Once all the three servers have started up (look for `Webserver started up in XXX sec` in the terminal), you can interact with the app via a web browser.
4660
* From a Node Driver configuration, look for `Starting webserver on address localhost:100XX` for the addresses.
4761

4862
* From the terminal: Node A: `localhost:10009`, Node B: `localhost:10012`, Node C: `localhost:10015`.
4963

5064
To access the front-end gui for each node, navigate to `localhost:XXXX/web/iou/`
51-

0 commit comments

Comments
 (0)