Minor: fix running-the-demos port numbers.

This commit is contained in:
Mike Hearn 2016-11-22 15:01:00 +01:00
parent 17e4950fe7
commit 1cc688561d
2 changed files with 3 additions and 4 deletions

View File

@ -75,7 +75,7 @@ In the "IRS Demo: Run Nodes" window you'll see a lot of activity when you run th
The date change rolls the clock forwards and causes the nodes to agree on the fixings over a period. The date change rolls the clock forwards and causes the nodes to agree on the fixings over a period.
There is also an web app as part of this demo. To use this set up the trades and then navigate to There is also an web app as part of this demo. To use this set up the trades and then navigate to
http://localhost:10005/web/irsdemo and http://localhost:10005/web/irsdemo to see both node's view of the ledger. http://localhost:10005/web/irsdemo and http://localhost:10007/web/irsdemo to see both node's view of the ledger.
To use the demos click the "Create Deal" button, fill in the form, then click the "Submit" button. Now you will be To use the demos click the "Create Deal" button, fill in the form, then click the "Submit" button. Now you will be
able to use the time controls at the top left of the home page to run the fixings. Click any individual trade in the able to use the time controls at the top left of the home page to run the fixings. Click any individual trade in the
@ -113,6 +113,6 @@ To run the demo run:
1. Open the Corda project in IntelliJ and run the "Install" configuration 1. Open the Corda project in IntelliJ and run the "Install" configuration
2. Open the Corda samples project in IntelliJ and run the "Simm Valuation Demo" configuration 2. Open the Corda samples project in IntelliJ and run the "Simm Valuation Demo" configuration
Now open http://localhost:10005/web/simmvaluationdemo and http://localhost:10005/web/simmvaluationdemo to view the two nodes that this Now open http://localhost:10005/web/simmvaluationdemo and http://localhost:10007/web/simmvaluationdemo to view the two nodes that this
will have started respectively. You can now use the demo by creating trades and agreeing the valuations. will have started respectively. You can now use the demo by creating trades and agreeing the valuations.

View File

@ -4,7 +4,6 @@ import net.corda.core.node.services.ServiceInfo
import net.corda.node.driver.driver import net.corda.node.driver.driver
import net.corda.node.services.transactions.SimpleNotaryService import net.corda.node.services.transactions.SimpleNotaryService
/** /**
* Sample main used for running within an IDE. Starts 3 nodes (A, B and Notary) as an alternative to running via gradle * Sample main used for running within an IDE. Starts 3 nodes (A, B and Notary) as an alternative to running via gradle
* This does not start any tests but has the nodes running in preparation for a live web demo or to receive commands * This does not start any tests but has the nodes running in preparation for a live web demo or to receive commands
@ -12,7 +11,7 @@ import net.corda.node.services.transactions.SimpleNotaryService
*/ */
fun main(args: Array<String>) { fun main(args: Array<String>) {
driver(dsl = { driver(dsl = {
startNode("Notary",setOf(ServiceInfo(SimpleNotaryService.type))) startNode("Notary", setOf(ServiceInfo(SimpleNotaryService.type)))
startNode("Bank A") startNode("Bank A")
startNode("Bank B") startNode("Bank B")
waitForAllNodesToFinish() waitForAllNodesToFinish()