Skip to content
Snippets Groups Projects
README.md 892 B
Newer Older
Reiner Jung's avatar
Reiner Jung committed
# iobserve-prototype

This tool is only a mockup of the real analysis service of iobserve. 
However, it evaluates the daemon part of such service.

The service reads all data from its resource file in 
`src/main/resources/exampl-model.json`.

## Prerequisites

To use this mockup, you need the following installed on your system:
- jsvc https://commons.apache.org/proper/commons-daemon/index.html
- gradle

In Ubuntu this can be done:
`sudo apt install jsvc libcommons-daemon-java`
`sudo apt install gradle`

In Eclipse you can install Gradle support via the Markelplace. Choose
Gradle STS.

## Build

gradle build jar

## Setup

- Copy `iobserve-service.sh.template` to `iobserve-service.sh`
- Adapt the parameters in `iobserve-service.sh`

## Running

On Unices run the script with:

`sudo ./iobserve-service.sh start` 

You may stop the service with:

`sudo ./iobserve-service.sh stop`