mirror of
https://github.com/corda/corda.git
synced 2025-06-06 01:11:45 +00:00
CORDA-1102 / CORDA-1103 - Fix IRS Demo on Windows (#2668)
* CORDA-1102 - Fix IRS demo README * CORDA-1103 - Fix JAR paths in IRS demo launcher
This commit is contained in:
parent
32a2a0909d
commit
cf5498a7b0
@ -23,7 +23,7 @@ To run from the command line in Windows:
|
|||||||
2. Run ``gradlew.bat samples:irs-demo:web:deployWebapps`` to install configs and tools for running webservers
|
2. Run ``gradlew.bat samples:irs-demo:web:deployWebapps`` to install configs and tools for running webservers
|
||||||
3. Run ``cd samples\irs-demo`` to change current working directory
|
3. Run ``cd samples\irs-demo`` to change current working directory
|
||||||
4. Run ``cordapp\build\nodes\runnodes.bat`` to open up several 3 terminals for each nodes
|
4. Run ``cordapp\build\nodes\runnodes.bat`` to open up several 3 terminals for each nodes
|
||||||
5. Run ``web\build\webapps\webapps.bat`` to open up several 3 terminals for each nodes' webservers
|
5. Run ``web\build\webapps\runwebapps.bat`` to open up several 3 terminals for each nodes' webservers
|
||||||
|
|
||||||
This demo also has a web app. To use this, run nodes and then navigate to http://localhost:10007/ and
|
This demo also has a web app. To use this, run nodes and then navigate to http://localhost:10007/ and
|
||||||
http://localhost:10010/ to see each node's view of the ledger.
|
http://localhost:10010/ to see each node's view of the ledger.
|
||||||
@ -57,4 +57,3 @@ In order to run the the test by other means that the Gradle task - two more syst
|
|||||||
and web frontend respectively. Those can be obtained by running ``:samples:irs-demo:cordapp:prepareDockerNodes`` and
|
and web frontend respectively. Those can be obtained by running ``:samples:irs-demo:cordapp:prepareDockerNodes`` and
|
||||||
``web:generateDockerCompose`` Gradle tasks. ``systemTest`` task simply executes those two and set proper system properties up.
|
``web:generateDockerCompose`` Gradle tasks. ``systemTest`` task simply executes those two and set proper system properties up.
|
||||||
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
|||||||
cmd /C start java -Dspring.profiles.active=NotaryService -jar #JAR_PATH#
|
SET scriptpath=%~dp0
|
||||||
cmd /C start java -Dspring.profiles.active=BankA -jar #JAR_PATH#
|
cmd /C start java -Dspring.profiles.active=NotaryService -jar %scriptpath%#JAR_PATH#
|
||||||
cmd /C start java -Dspring.profiles.active=BankB -jar #JAR_PATH#
|
cmd /C start java -Dspring.profiles.active=BankA -jar %scriptpath%#JAR_PATH#
|
||||||
|
cmd /C start java -Dspring.profiles.active=BankB -jar %scriptpath%#JAR_PATH#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user