Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Configuration

Individual bots can be set up manually without nodeservices also. The process is described below:

  • Clone our OnBot repository from github (git clone -b master https://github.com/CognizantOneDevOps/OnBot.git)
  • Copy the desired bot scripts from the scripts folder of the cloned repo
  • Run this command: npm install -g yo generator-hubot
  • Create a parent folder myhubot
  • Run the following commands:

          cd myhubot

          yo hubot

  • Copy the scripts from the cloned repository (first step) into myhubot/scripts folder
  • Copy the workflow.json and package.json file into the myhubot directory
  • Run: npm install
  • Now set the required environment variables and start the bot: ./bin/hubot -a <adapter>


Environment Variables for specific bots
  • No labels