Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pboos committed May 1, 2018
1 parent ecdd926 commit 0b02294
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:<rhizomatic-samples>/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:<rhizomatic-samples>/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

Expand Down

0 comments on commit 0b02294

Please sign in to comment.