clout-redis-session
Install
In the directory of your clout-js application, do the following;
- Install this package
npm install clout-redis-session
- Add this module to
package.json
{ ... "modules": ["clout-redis-session"] ...}
Configure
Create a new file redis.default.js
or redis.<YOUR_ENV>.js
in /conf
directory with the following JavaScript.
module.exports = { session: { redis: { host: '<REDIS_HOST>', port: '<REDIS_PORT>', prefix: 'sess' } }};