Skip to content

clay/amphora-storage-postgres

Repository files navigation

Amphora Postgres

A storage module for Amphora using Postgres & Redis

CircleCI Coverage Status

Installation & Usage

First install the module:

$ npm install -S amphora-storage-postgres

Then pass the module into Amphora as the value for the storage property.

amphora({
  ...
  storage: require('amphora-storage-postgres')
  ...
})

At startup time the module will try to connect to Postgres and Redis and default in a dev environment. Make sure to see the Environment Setup document for how to configure the clients for production.

License

MIT