brobbot-pg-brain
postgres-backed brain for brobbot
Last updated 5 years ago by b3nj4m .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install brobbot-pg-brain 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.2                                ...           latest (5 years ago)

16 Versions

  • 3.0.2                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.9.0                                ...           5 years ago
  • 0.8.0                                ...           5 years ago
  • 0.7.0                                ...           5 years ago
  • 0.6.0                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |