Amazon Simple Workflow Service Demo Application in Node.js
- node.js >= 0.8
- An active AWS account with Access Keys
(1) Install dependencies
npm install
(2) Copy the sample configuration and replace with your own access keys
cp config.js.sample config.js
nano config.js
(3) Rename all domain name with "XXX_upload-file-S3" where XXX are your initials to avoid conflicts
example -> domain: 'JSN_upload-file-S3',
(3) Register the domain, workflow type and activity types
npm run bootstrap
(4) Run the decider
npm run decider
(5) Run the activity
npm run uploadCSVS3
(6) Start workflow execution
npm run starter