From 0b022945a0a5dc20e665c9adcf30f9d4780661e3 Mon Sep 17 00:00:00 2001 From: Patrick Boos Date: Tue, 1 May 2018 15:45:15 +0900 Subject: [PATCH] Update README.md --- README.md | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index a4dd424..2fa52ed 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,42 @@ # Rhizomatic Samples -## Launch the Gradle Build System +## Run the sample -From the root directory, ```./gradlew clean jar rhizomaticAssembly``` (*Nix) or ```gradlew clean jar rhizomaticAssembly``` (Windows) +### *nix +``` +./gradlew clean jar rhizomaticAssembly +(cd runtime/build/image/ && exec java -p libraries:system:../../../bootstrap-message-gradle/build/classes/java/main/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic) +``` -From the ```rhizomatic-samples/runtime/build/image/``` directory, execute: +### Windows +``` +gradlew clean jar rhizomaticAssembly +cd runtime/build/image/ +java -p libraries:system:../../../bootstrap-message-gradle/build/classes/java/main/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic +``` -```java -p libraries:system:/bootstrap-message-gradle/build/classes/java/main/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic``` - -On Windows, change ':' to ';' - -## Launch the Development System +## Run the Development System Configure your IDE (currently IntelliJ is supported) to enable incremental compile and build the project. -From the ```rhizomatic-samples/runtime/build/image/``` directory, execute: +To run the development version, just change `bootstrap-message-gradle` to `bootstrap-message-dev`. -```java -p libraries:system:/bootstrap-message-dev/out/production/classes/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic``` - -On Windows, change ':' to ';' +### *nix +``` +./gradlew clean jar rhizomaticAssembly +(cd runtime/build/image/ && exec java -p libraries:system:../../../bootstrap-message-dev/build/classes/java/main/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic) +``` +### Windows +``` +gradlew clean jar rhizomaticAssembly +cd runtime/build/image/ +java -p libraries:system:../../../bootstrap-message-dev/build/classes/java/main/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic +``` ## Invoke the Service -Go to: - -```http://localhost:8080/api/tests/test``` +Go to: http://localhost:8080/api/tests/test ## Debugging