2016-11-17 12:03:40 +01:00
|
|
|
# IRS Demo
|
|
|
|
|
|
|
|
TODO
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
You will need to have [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
|
|
|
|
installed and available on your path.
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
First clone this repository and the Corda repository locally. Then open a terminal window in the Corda directory and run:
|
|
|
|
|
|
|
|
Unix:
|
|
|
|
|
|
|
|
./gradlew publishToMavenLocal
|
|
|
|
|
|
|
|
Windows:
|
|
|
|
|
|
|
|
gradle.bat publishToMavenLocal
|
|
|
|
|
|
|
|
This will publish a copy of Corda to your local Maven repository for your Cordapp to use. Next open a terminal window
|
|
|
|
in your Cordapp directory (this one) and run:
|
|
|
|
|
|
|
|
Unix:
|
|
|
|
|
|
|
|
./gradlew deployNodes
|
|
|
|
|
|
|
|
Windows:
|
|
|
|
|
|
|
|
gradlew.bat deployNodes
|
|
|
|
|
|
|
|
This command will create several nodes in `build/nodes` that you can now run with:
|
|
|
|
|
|
|
|
Unix:
|
|
|
|
|
|
|
|
cd build/nodes
|
|
|
|
./runnodes
|
|
|
|
|
|
|
|
Windows:
|
|
|
|
|
2016-11-17 18:25:49 +00:00
|
|
|
cd build/nodes
|
|
|
|
ruunnodes.bat
|
2016-11-17 12:03:40 +01:00
|
|
|
|
|
|
|
This will now have nodes running on your machine running this Cordapp. You can now begin developing your Cordapp.
|
|
|
|
|
|
|
|
## Further Reading
|
|
|
|
|
|
|
|
Tutorials and developer docs for Cordapps and Corda are [here](https://docs.corda.r3cev.com).
|