Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/viadee/bpmn.ai-ui

Easy setup and control of your bpmn.ai data flow
https://github.com/viadee/bpmn.ai-ui

administration camunda machinelearning ml spark

Last synced: 10 days ago
JSON representation

Easy setup and control of your bpmn.ai data flow

Awesome Lists containing this project

README

        

# bpmn.ai-ui
This project contanis a UI that helps in setting up your [bpmn.ai](https://github.com/viadee/bpmn.ai) preprocessing pipeline easily.

## How to run bpmn.ai-ui

### Using Docker

The easiest way to run bpmn.ai-ui is by using the provided [Docker image](https://hub.docker.com/r/viadee/bpmn.ai-ui).

In order to run bpmn.ai-ui you can use the following command:

docker run -it --rm \
--network bpmnai-ui-demo \
-v :/data \
-p 7000:7000 \
viadee/bpmn.ai-ui:latest

This run the latest version of bpmn.ai-ui and maps your local folder as /data inside the container (has to be /data) and makes the UI available on port [7000](http://localhost:7000) on the docker host. It is configured to use all cpu cores available to the docker container.

By using "--network bpmnai-ui-demo" the docker container is joined into the docker network bpmnai-ui-demo. This should match the docker network of your kafka server if it is also running in a docker container.

### Using maven

You can run bpmn.ai-ui by building a standalone jar and run it on your machine.

#### Create a standalone jar

In the project root folder run the following command to build a standalone runnable jar:

mvn clean package -PstandaloneJar

After a succesful build the standalone jar can be found in the folder backend/target/bpmnai-ui-\-jar-with-dependencies.jar

#### Run the jar

In order to run the strandalone jar you can use the following command:

java -Dspark.master="local[*]" -jar -jar-with-dependencies.jar

*-Dspark.master="local[\*]"* will tell Apache Spark to use all available cpu cores. You can replace the asterisk with the number of cpu cores Spark should be using.

The UI will be available on port [7000](http://localhost:7000).

#### Add your own pipeline step

If you want to add you own pipeline steps while using the UI you simply change the bpmn.ai-core dependency of the bpmn.ai-ui to your maven project based on bpmn.ai-core containing your pipeline steps. Just make sure that your project is using bpmn.ai-core as a dependency with at least version 1.2.1.

For details on building your own pipeline step see the [bpmn.ai wiki](https://github.com/viadee/bpmn.ai/wiki/12_Tutorial-2-%E2%80%90-Create-a-custom-Preprocessing-step-for-bpmn.ai).