Skip to content

Commit

Permalink
added option and docu to build native-image
Browse files Browse the repository at this point in the history
  • Loading branch information
lwluc committed Nov 4, 2023
1 parent 984c1f1 commit a89c424
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and convert it to [XES](https://xes-standard.org/) for Predictive Process Monito
* [🚀🔜 Coming Soon... 🌟🎉👀](#-coming-soon-)
* [🚀 Getting Started](#-getting-started)
* [Configuring `application.yaml`](#configuring-applicationyaml)
* [👨‍💻 Develop Guide](#-develop-guide)
* [Build Native Image](#build-native-image)

# ✨Features

Expand Down Expand Up @@ -54,14 +56,25 @@ To set up your configuration in `application.yaml`, follow these steps:

Once you've completed these configurations, you'll be prepared to retrieve the data and convert it to XES format 🎉

To install all dependencies, run the following command:
Download the latest native-image from the
[releases here](https://github.com/envite-consulting/optimize-to-xes/releases/latest/download/optimize-to-xes) and
execute it with the following options:

```shell
$ ./mvnw install
./optimize-to-xes \
--optimize.base-url='optimize_base_url' \
--optimize.report-id='report_id' \
--optimize.client-id='client_id' \
--optimize.client-secret='client_secret' \
--xes-mapping.filename='<filename-or-path>.xml'
```

To install and start the commandline runner, use the command below:
# 👨‍💻 Develop Guide

## Build Native Image

To build the native image run the following command:

```shell
$ ./mvnw spring-boot:run
```
./mvnw clean native:compile -Pnative
```
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
Expand Down

0 comments on commit a89c424

Please sign in to comment.