_______________
/ \
//\ | Greeting, |
////\ _____ | Geeks. |
//////\ /_____\ \ /
======= |[^_/\_]| /--------------
| | _|___@@__|__
+===+/ /// \_\
| |_\ /// HUBOT/\\
|___/\// / \\
\ / +---+
\____/ | |
| //| +===+
\// |xx|
make sure you have pm2
npm install -g pm2
create .hubotrc file on your $HOME and add following.
export HUBOT_SLACK_TOKEN="<SLACK_BOT_TOKEN>"
export WEBHOOK_SECRET="<GITHUB_WEBHOOK_SECRET>"
export HUBOT_WOLFRAM_APPID="<WOLFRAM_APPID>"
export GITHUB_API_TOKEN="<GITHUB_API_TOKEN>"
export FIREBASE_TOKEN="<FIREBASE_CUSTOM_TOKEN>"fire up!!
pm2 start processes.json
now, you can manage hubot process with pm2
just type following command
./bin/hubot