Use new rs-logger-script instead of previous hack

This commit is contained in:
Basti 2015-07-07 17:19:48 +02:00
parent 381cab538a
commit c405c3b941
3 changed files with 8 additions and 10 deletions

View File

@ -1,6 +1,5 @@
[ [
"hubot-help", "hubot-help",
"hubot-heroku-keepalive",
"hubot-read-tweet", "hubot-read-tweet",
"hubot-redis-brain", "hubot-redis-brain",
"hubot-rules", "hubot-rules",
@ -9,5 +8,5 @@
"hubot-tell", "hubot-tell",
"hubot-seen", "hubot-seen",
"hubot-rss-reader", "hubot-rss-reader",
"hubot-logger" "hubot-remotestorage-logger"
] ]

View File

@ -18,13 +18,12 @@
"hubot-plusplus": "^1.1.5", "hubot-plusplus": "^1.1.5",
"hubot-read-tweet": "0.0.2", "hubot-read-tweet": "0.0.2",
"hubot-redis-brain": "0.0.2", "hubot-redis-brain": "0.0.2",
"hubot-remotestorage-logger": "^0.2.0",
"hubot-rules": "^0.1.0", "hubot-rules": "^0.1.0",
"hubot-scripts": "^2.5.16", "hubot-scripts": "^2.5.16",
"hubot-seen": "https://github.com/67P/hubot-seen.git#fix_debug", "hubot-seen": "https://github.com/67P/hubot-seen.git#fix_debug",
"hubot-shipit": "^0.2.0", "hubot-shipit": "^0.2.0",
"hubot-tell": "^1.2.3", "hubot-tell": "^1.2.3",
"hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git",
"hubot-logger": "67P/hubot-logger#remotestorage",
"request": "2.30.0" "request": "2.30.0"
}, },
"engines": { "engines": {

12
run.sh
View File

@ -1,19 +1,19 @@
# cp ~/src/remotestorage/modules/src/chat-messages.js ~/src/kosmos/hubot-logger/lib/chat-messages.es6 # cp ~/src/remotestorage/modules/src/chat-messages.js ~/src/kosmos/hubot-logger/lib/chat-messages.es6
# rm -rf node_modules/hubot-logger # rm -rf node_modules/hubot-remotestorage-logger
# npm install # npm install
HUBOT_IRC_SERVER="irc.freenode.net" \ HUBOT_IRC_SERVER="irc.freenode.net" \
HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \ HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \
HUBOT_IRC_NICK="hal7000" \ HUBOT_IRC_NICK="hal7000" \
HUBOT_IRC_UNFLOOD="true" \ HUBOT_IRC_UNFLOOD="300" \
HUBOT_RSS_PRINTSUMMARY="false" \ HUBOT_RSS_PRINTSUMMARY="false" \
HUBOT_RSS_IRCCOLORS="true" \ HUBOT_RSS_IRCCOLORS="true" \
HUBOT_RSS_HEADER="Update:" \ HUBOT_RSS_HEADER="Update:" \
HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao" \ HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao" \
LOG_HTTP_PORT=7000 \ LOG_HTTP_PORT=7000 \
LOG_STEALTH="true" \ LOG_STEALTH="true" \
LOG_RS_USER="kosmos@5apps.com" \ RS_LOGGER_USER="kosmos@5apps.com" \
LOG_RS_TOKEN="change-me" \ RS_LOGGER_TOKEN="change-me" \
LOG_RS_SERVER_NAME="freenode" \ RS_LOGGER_SERVER_NAME="freenode" \
LOG_RS_PUBLIC="true" \ RS_LOGGER_PUBLIC="true" \
bin/hubot -a irc --name hal7000 bin/hubot -a irc --name hal7000