Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 652 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 652 Bytes

socket.io-redis-sentinel-sample

This is simple node.js application with Express.js 4.x, Socket.IO 1.x, socket.io-redis and redis-sentinel.

Usage

$ git clone https://github.com/stoshiya/socket.io-redis-sample.git
$ cd socket.io-redis-sample

$ redis-server --port 6379 &
$ redis-server --port 6380 slaveof 127.0.0.1 6379 &
$ redis-sentinel ./conf/sentinel0.conf &
$ redis-sentinel ./conf/sentinel1.conf &

$ npm install
$ node app.js &

License

MIT