0.1.2 • Published 5 years ago

hubot-mongodb-3-brain v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

This is a fork of https://github.com/shokai/hubot-mongodb-brain published under the name hubot-mongodb-brain

hubot-mongodb-brain

MongoDB brain for Hubot. Support MongoLab and MongoHQ on Heroku.

difference betweet redis-brain

Hubot's default redis-brain saves all data into one large blob (It's not using Redis as KVS) and write it every 20 seconds. So it exceeds maxmemory of Redis.

Requirements

  • mongodb
  • coffee-script 1.9+

Install

% npm install hubot-mongodb3-brain -save
% npm install coffee-script@">=1.9" -save

edit external-script.json

[ "hubot-mongodb3-brain" ]

enable mongolab on heroku

% heroku addons:create mongolab

Develop

Debug

% export HUBOT_LOG_LEVEL=debug

Test

% npm install
% npm test
0.1.2

5 years ago