Skip to content

step/orc-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orc Generator and Runner

Steps to create an Orc:

  • npm install orc-runner -g

  • orc-generator <name-of-the-Orc>

  • The scaffold of the Orc will be generated in the directory as the same name given

  • Run npm install

  • Change 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.js file

    const 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> --save

  • Do not change index.js file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •