jade-press plugin which replace mongodb session store with redis session store.
//in jade-press config.js
exports.setting = {
//...
plugins: {
'jadepress-redis': '*'
}
//this is default option if not set
,redisOptions: {
host: '127.0.0.1'
,port: 6379
}
//...
}
then install
gulp install
#makesure you can run jade-press and redis ready
git clone https://github.com/jade-press/jadepress-redis.git
cd jadepress-redis
npm install
bower install
npm i jadepress-theme-pi
mkdir node_modules/jadepress-redis
cp -r plugins node_modules/jadepress-redis/
npm run test