Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



...

Find all the Troubleshooting/Frequently Asked Questions(FAQ's) and more about hubot under this section.

Panel

Troubleshooting and how-to tips


Panel
bgColor#DDF0FC
titleColor#0798FF
titleHubot Decoded

This section is to help users who want to explore hubot from a developer's point of view. The hubot we are talking about is provided by Github. We have customized it to work with individual tools using coffeescript, node packages and REST API. Sounds fancy? Let us explore more about the structure that is followed by each hubot created and customized by us:

Each bot will have the following folders/files in it. Click on each link to know more about its purpose:

Expand
titlebin

This folder contains system files (shell scripts/batch file) which is used to run hubot. When we start/restart the hubot, we basically execute this shell/batch file residing in this folder, so it is the main entrypoint of every hubot.

Warning

It is recommended that you do not tamper with this file to avoid errors in hubot execution



Expand
titlenode_modules
Hubot is a node based software, hence needs node packages to run. As the name suggests, this folder will contain all those packages to aid the hubot. You might wonder why there is a predefined node_modules folder in the bot, we could have just mentioned all dependencies in a package.json file and run npm install command each time we installed the bot. The reason we have an explicit folder pre-filled with packages is that some node packages (viz. hubot-elasticsearch-logger, githubot etc.) are customized by us to work exclusively with our hubots.