hubot-mysql-brain

0.1.3 • Public • Published

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
  1. Then add hubot-mysql-brain to your external-scripts.json:
[
  "hubot-mysql-brain"
]
  1. Create your database schema
CREATE TABLE `brain` (
  `id` INT,
  `data` TEXT,
  PRIMARY KEY (`id`)
  )

Configurations

  • MYSQL_URL : e.g. mysql://user:pass@host/db_name
  • MYSQL_TABLE : default to brain

Readme

Keywords

Package Sidebar

Install

npm i hubot-mysql-brain

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • akhyrul