node package manager

brobbot-sqlite-brain

brobbot-sqlite-brain

A SQLite-backed brain for brobbot.

Usage

In your brobbot-instance:

npm install --save brobbot-sqlite-brain
./index.sh -b sqlite

Configuration

Database name

Set BROBBOT_SQLITE_DB_NAME to change the default db name ('brobbot').

This is also the path to your database file on disk, so be wary.

BROBBOT_SQLITE_DB_NAME=robotz ./index.sh -b sqlite

Table name

Set BROBBOT_SQLITE_TABLE_NAME to change the default table name ('brobbot').

BROBBOT_SQLITE_TABLE_NAME=robotz ./index.sh -b sqlite

Data key prefix

Set BROBBOT_SQLITE_DATA_PREFIX to change the default key prefix ('data:').

BROBBOT_SQLITE_DATA_PREFIX=brobbot-data: ./index.sh -b sqlite