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
0 Comments