Add logger (with RS archiving)

This commit is contained in:
Basti 2015-06-28 02:39:51 +01:00
parent 3c1455a587
commit ab4d3b68a4
3 changed files with 27 additions and 13 deletions

View File

@ -5,8 +5,9 @@
"hubot-redis-brain",
"hubot-rules",
"hubot-shipit",
"hubot-rss-reader",
"hubot-plusplus",
"hubot-tell",
"hubot-seen"
"hubot-seen",
"hubot-rss-reader",
"hubot-logger"
]

View File

@ -1,8 +1,11 @@
{
"name": "hal8000",
"version": "0.1.0",
"version": "0.3.0",
"private": true,
"author": "Sebastian Kippe <sebastian@kip.pe>",
"authors": [
"Sebastian Kippe <sebastian@kip.pe>",
"Greg Karékinian <greg@karekinian.com"
],
"description": "Heuristically programmed ALgorithmic computer",
"dependencies": {
"cheerio": "0.19.0",
@ -15,12 +18,14 @@
"hubot-plusplus": "^1.1.5",
"hubot-read-tweet": "0.0.2",
"hubot-redis-brain": "0.0.2",
"hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git",
"hubot-rules": "^0.1.0",
"hubot-scripts": "^2.5.16",
"hubot-seen": "https://github.com/67P/hubot-seen.git#fix_debug",
"hubot-shipit": "^0.2.0",
"hubot-tell": "^1.2.3",
"hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git",
"hubot-logger": "../hubot-logger/",
"hubot-logger": "67P/hubot-logger#remotestorage",
"request": "2.30.0"
},
"engines": {

24
run.sh
View File

@ -1,9 +1,17 @@
cp ~/src/remotestorage/modules/src/messages-irc.js ~/src/kosmos/hubot-logger/lib/
rm -rf node_modules/hubot-logger
npm install
HUBOT_IRC_SERVER=irc.freenode.net \
HUBOT_IRC_ROOMS="#kosmos-dev" \
HUBOT_IRC_NICK="hal7000" \
HUBOT_IRC_UNFLOOD="true" \
HUBOT_RSS_PRINTSUMMARY="false" \
HUBOT_RSS_IRCCOLORS="true" \
HUBOT_RSS_HEADER="Update:" \
HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao" \
bin/hubot -a irc --name hal7000
HUBOT_IRC_ROOMS="#kosmos-dev" \
HUBOT_IRC_NICK="hal7000" \
HUBOT_IRC_UNFLOOD="true" \
HUBOT_RSS_PRINTSUMMARY="false" \
HUBOT_RSS_IRCCOLORS="true" \
HUBOT_RSS_HEADER="Update:" \
HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao" \
LOG_HTTP_PORT=7000 \
LOG_STEALTH="true" \
LOG_RS_USER="kosmos@5apps.com" \
LOG_RS_TOKEN="add-a-token" \
bin/hubot -a irc --name hal7000