mirror of
https://github.com/wahyd4/cadence-demo.git
synced 2026-08-08 20:24:49 +10:00
Update readme
This commit is contained in:
@@ -3,11 +3,17 @@
|
||||
## How to run
|
||||
|
||||
```
|
||||
export CADENCE_URL=
|
||||
export CADENCE_DOMAIN=
|
||||
export CADENCE_URL=<to be your cadence host>
|
||||
export CADENCE_DOMAIN=<to be the cadence domain>
|
||||
|
||||
# run the application
|
||||
|
||||
./gradlew run
|
||||
|
||||
```
|
||||
# Schedule a simple job to cadence
|
||||
|
||||
cadence --ad <your-cadence-domain>:7933 --do ds-test workflow start --tasklist helloWorldTaskList --workflow_type HelloWorld::sayHello --execution_timeout 3600 --input \"World\"
|
||||
|
||||
```
|
||||
|
||||
You should expect console prints out "Hello World" in `10` seconds
|
||||
Reference in New Issue
Block a user