Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #143 from masayag/update_service_readme
Browse files Browse the repository at this point in the history
Update workflow-service README
  • Loading branch information
lshannon committed Mar 22, 2023
2 parents 4b5bfdb + 0908139 commit d1a2cac
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions workflow-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,19 @@ test the service. It should be removed once actual Tasks and WorkFlows start get
To start the application run the following from the root folder of 'workflow-service'.

```shell

java -Dspring.profiles.active=local -jar target/workflow-service-0.0.1-SNAPSHOT.jar

VERSION=1.0.3-SNAPSHOT
java -Dspring.profiles.active=local \
-Dloader.path=../workflow-examples/target/workflow-examples-${VERSION}-jar-with-dependencies.jar \
-jar target/workflow-service-${VERSION}.jar
```
or
```shell
VERSION=1.0.3-SNAPSHOT
export LOADER_PATH=../workflow-examples/target/workflow-examples-${VERSION}-jar-with-dependencies.jar
export SPRING_PROFILES_ACTIVE=local
java -jar target/workflow-service-${VERSION}.jar
```
Where the LOADER_PATH is the path to the jar containing the WorkFlowTasks and WorkFlows to be loaded into the service.

For convenience there is a shell script at the root of the folder that will run this command as well
(`start_workflow_service.sh`).
Expand Down

0 comments on commit d1a2cac

Please sign in to comment.