teamstatus is a status dashboard builder based on irc.
This code heavily borrows from Lloyd's ircloggr.
- node.js (0.6.x)
- deps listed in
package.json
- a mysql/postgres database to connect to
- Install node.js
- git clone this repository
- npm install
- install mysql, create a
teamstatus
database, grant all privs toteamstatus
user - PORT=8080 npm start
Visit http://127.0.0.1:8080/
in your browser
- SERVERS=irc.freenode.net=teamstatus_test bin/teamstatus_log
Now log into irc.freenode.net
#teamstatus_test and notice that your utterances are
visible through the web view.
Bots get into fights. It's not pretty. Best to have them not fight one another by listing other bots so status knows about them.
- OTHER_BOTS=jenkins,qatestbot
Now that you've got it running, deployment on any provider should be pretty straightforward. Here are steps to get up and running on heroku:
- heroku create --stack cedar --buildpack http://github.com/hakobera/heroku-buildpack-nodejs.git // create a new app on heroku using node 0.6+
- heroku addons:add cleardb:ignite // add a mysql database
- heroku config:add IP_ADDRESS=0.0.0.0
- heroku config:add BOT_NAME=my_teamstatus_bot
- git push heroku master
you should be running! now let's configure a room and the daemon
- heroku config:add SERVERS=irc.freenode.net=teamstatus_testroom $ heroku scale web=1 worker=1