Skip to content

nndd91/cadence-tutorial-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

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.

Running the Cadence Service

  1. cd cadenceservice
  2. docker-compose up
  3. Register the simple-domain with docker run --network=host --rm ubercadence/cli:master --do simple-domain domain register --rd 10

Worker

Make sure go is installed in system. Navigate back to the project root folder.

  • Worker
    1. make worker
    2. ./bins/worker

To start workflow

docker run --network=host --rm ubercadence/cli:master --domain simple-domain workflow start --tl "sampleGroup" --wt SampleWorkflow --et 600 --dt 600 -w SampleID

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published