3.0.2 • Published 10 years ago

brobbot-pg-brain v3.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

brobbot-pg-brain

A Postgres-backed brain for brobbot.

Requires Postgres 9.4 or higher.

Usage

In your brobbot-instance:

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

Configuration

URL

Use one of the following environment variables to set the Postgres URL:

  • HEROKU_POSTGRESQL_*_URL
  • DATABASE_URL
  • POSTGRESQL_URL
HEROKU_POSTGRESQL_BLUE_URL=postgres://user:password@localhost/brobbot ./index.sh -b pg

Table name

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

BROBBOT_PG_TABLE_NAME=robot ./index.sh -b pg

Data key prefix

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

BROBBOT_PG_DATA_PREFIX=brobbot-data: ./index.sh -b pg
3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.9.0

10 years ago

0.8.0

10 years ago

0.7.0

10 years ago

0.6.0

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago