#RemoteStorage RedisStorage Adapter This storage adapter is intended to replace the default in-memory storage when using remotestorage.js with node.js.
#Usage
- Run
npm install --save remotestorage-redisstore
- make sure you have redis running
###Use it in your code as in the following example:###
var remotestorage = require('./nodemodules/remotestorage-redisstore/lib/remotestorage-node-debug');
require('remotestorage-redisstore')(remotestorage);
optionally specify a redis-url:
var REDISURL = process.env.REDISTOGO_URL || 'redis://localhost:6379';
require('remotestorage-redisstore')(remotestorage, REDISURL);
#Contribute
git clone git@github.com/jorin-vogel/remotestorage-redisstore.git
cd remotestorage-redisstore
npm install
- in second terminal:
redis-server
npm test