Update readme

This commit is contained in:
2020-09-22 17:08:10 +10:00
parent 69acb17932
commit e5e2dd9dbb
+9 -3
View File
@@ -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