Skip to content

Commit

Permalink
add further execution examples
Browse files Browse the repository at this point in the history
  • Loading branch information
abelhegedus committed Nov 8, 2019
1 parent 2d67063 commit e0985d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ The easiest way to set up the environment is to:

1. `Run -> Run... -> com.incquerylabs.vhci.modelaccess.twc.rest.Crawler.kt` (set arguments in Configuration)

### Gradle`

1. `./gradlew run --args='<args>'` with arguments (see below)

### Application

1. `gradle shadowJar` or download from GitHub releases
1. `./gradlew shadowJar` or download from GitHub releases
1. `java -jar build/libs/vhci.modelaccess.twc.rest-1.0-SNAPSHOT-all.jar <args>` with arguments (see below)


## Example arguments

### OpenSE Cookbook model on twc.openmbee.org
Expand Down
4 changes: 4 additions & 0 deletions com.incquerylabs.vhci.modelaccess.twc.rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}

application {
mainClassName = 'com.incquerylabs.vhci.modelaccess.twc.rest.CrawlerKt'
}

vertx {
launcher = 'com.incquerylabs.vhci.modelaccess.twc.rest.CrawlerKt'
}
Expand Down

0 comments on commit e0985d8

Please sign in to comment.