Boiler plate to get you quickly started and writing workflows. Just edit worker/workflows/sample1.go
as you like
and then follow the instructions below to start worker and workflow.
cd cadenceservice
docker-compose up
- Register the
simple-domain
withdocker run --network=host --rm ubercadence/cli:master --do simple-domain domain register --rd 10
Make sure go is installed in system. Navigate back to the project root folder.
- Worker
make worker
./bins/worker
docker run --network=host --rm ubercadence/cli:master --domain simple-domain workflow start --tl "sampleGroup" --wt SampleWorkflow --et 600 --dt 600 -w SampleID