0.1.5 • Published 7 years ago
orc-runner v0.1.5
Orc Generator and Runner
Steps to create an Orc:
npm install orc-runner -gorc-generator <name-of-the-Orc>The scaffold of the Orc will be generated in the directory as the same name given
Run
npm installChange the rabbitmq config and sauron reports URL in config.json or set the respective env variables
Write the task in the specified code block in
task.jsfileconst shell = require("shelljs"); shell.config.silent = true; export default function(data) { return new Promise(function(resolve, reject) { //write your code here }); }Need any extra dependencies ? run
npm install <dependency> --saveDo not change
index.jsfile