|
1 | | -# repo-crawler |
2 | | - |
3 | | -## Getting Started |
4 | | -The easiest way to set up the environment is to: |
5 | | -1. Install `IntelliJ IDEA` with kotlin plugin. |
6 | | -2. Clone this repository. |
7 | | -3. Open IntelliJ IDEA and open project. `File -> Open.. -> <project_path>` (Select `Gradle` if needed.) |
8 | | -4. `Build -> Build Project` |
| 1 | +# Repository and revision crawler for Teamwork Cloud 19.0 |
9 | 2 |
|
10 | 3 | ## Run the crawler |
11 | 4 |
|
12 | | -### From IntelliJ IDEA |
13 | | - |
14 | | -1. `Run -> Run... -> com.incquerylabs.vhci.modelaccess.twc.rest.Crawler.kt` (set arguments in Configuration) |
15 | | - |
16 | | -### Gradle` |
17 | | - |
18 | | -1. `./gradlew run --args='<args>'` with arguments (see below) |
19 | | - |
20 | | -### Application |
21 | | - |
22 | | -1. `./gradlew shadowJar` or download from GitHub releases |
23 | | -1. `java -jar build/libs/vhci.modelaccess.twc.rest-1.0-SNAPSHOT-all.jar <args>` with arguments (see below) |
| 5 | +1. Download `vhci.modelaccess.twc.rest-<version>-all.jar` from [GitHub releases](https://github.com/IncQueryLabs/repo-crawler/releases) |
| 6 | +1. `java -jar vhci.modelaccess.twc.rest-<version>-all.jar <args>` with arguments (see below) |
24 | 7 |
|
25 | 8 | ## Example arguments |
26 | 9 |
|
| 10 | +Running the jar without arguments prints out the usage instructions. |
| 11 | + |
27 | 12 | ### OpenSE Cookbook model on twc.openmbee.org |
28 | 13 |
|
29 | 14 | `-S twc.openmbee.org -P 8111 -ssl -W 9c368adc-10cc-45d9-bec6-27aedc80e68b -R c6bede89-cd5e-487b-aca8-a4f384370759 -B 29110c0f-bdc1-4294-ae24-9fd608629cac -REV 350 -C 2000 -u openmbeeguest -pw guest` |
30 | 15 |
|
31 | 16 | ### TMT on twc.openmbee.org |
32 | 17 |
|
33 | 18 | `-S twc.openmbee.org -P 8111 -ssl -W 9c368adc-10cc-45d9-bec6-27aedc80e68b -R 6819171d-1f52-4792-a08d-15d50d47985a -B a95e8bd1-f7d2-433e-a0a1-0c1cd7702e59 -REV 229 -C 2000 -u openmbeeguest -pw guest` |
| 19 | + |
| 20 | +## Running from source |
| 21 | + |
| 22 | +1. Clone this repository or download the sources for a [release](https://github.com/IncQueryLabs/repo-crawler/releases). |
| 23 | + |
| 24 | +### IntelliJ IDEA |
| 25 | + |
| 26 | +1. Install `IntelliJ IDEA` with kotlin plugin. |
| 27 | +1. Open IntelliJ IDEA and open project. `File -> Open.. -> <project_path>` (Select `Gradle` if needed.) |
| 28 | +1. `Build -> Build Project` |
| 29 | +1. `Run -> Run... -> com.incquerylabs.vhci.modelaccess.twc.rest.Crawler.kt` (set arguments in Configuration) |
| 30 | + |
| 31 | +### Gradle |
| 32 | + |
| 33 | +1. `./gradlew run --args='<args>'` with arguments (see above) |
| 34 | + |
| 35 | +### Shadow Jar |
| 36 | + |
| 37 | +1. `./gradlew shadowJar` |
| 38 | +1. `java -jar build/libs/vhci.modelaccess.twc.rest-<version>-all.jar <args>` with arguments (see above) |
0 commit comments