Skip to content

Commit

Permalink
updated readme regarding running jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesrac committed Jun 26, 2024
1 parent 0a3dd00 commit d040f1a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,17 @@ client:
source-folder: /tmp/source/8000000000000
mode: test
```

## Running Jar directly
If the provided jar should be run directly, the following command can be used:
```java -jar cdr-client.jar```
The jar can be found in build/libs.

Following environment variables need to be present (and correctly configured) so that the application can start successfully:
```
SPRING_CONFIG_ADDITIONAL_LOCATION={{ cdr_client_dir }}/config/application-customer.yaml"
LOGGING_FILE_NAME={{ cdr_client_dir }}/logs/cdr-client.log"
```
The LOGGING_FILE_NAME is just so that the log file is not auto created where the jar is run from.

See [Application Plugin](#application-plugin) regarding the content of the application-customer.yaml

0 comments on commit d040f1a

Please sign in to comment.