1.0.3 • Published 10 years ago
brobbot-sqlite-brain v1.0.3
brobbot-sqlite-brain
A SQLite-backed brain for brobbot.
Usage
In your brobbot-instance:
npm install --save brobbot-sqlite-brain
./index.sh -b sqliteConfiguration
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 sqliteTable name
Set BROBBOT_SQLITE_TABLE_NAME to change the default table name ('brobbot').
BROBBOT_SQLITE_TABLE_NAME=robotz ./index.sh -b sqliteData key prefix
Set BROBBOT_SQLITE_DATA_PREFIX to change the default key prefix ('data:').
BROBBOT_SQLITE_DATA_PREFIX=brobbot-data: ./index.sh -b sqlite