chickenzord / hubot-mysql-brain

A hubot script to persist hubot's brain using MySQL
MIT License
2 stars 6 forks source link

hubot-mysql-brain

A hubot script to persist hubot's brain using MySQL

See scripts/mysql-brain.coffee for full documentation.

Installation

  1. In hubot project repo, run:

    npm install hubot-mysql-brain --save
  2. Then add hubot-mysql-brain to your external-scripts.json:

    [
      "hubot-mysql-brain"
    ]
  3. Create your database schema:

    CREATE TABLE `brain` (
      `id` INT,
      `data` TEXT,
      PRIMARY KEY (`id`)
      )

Configurations