a simple meteorite package for Atmosphere, providing a wrapper for the node-redis driver by @mranney.
- make sure you have meteorite installed
$ npm install -g meteorite
- inside your project, run:
$ mrt add redis
meteor-redis
will install its dependencies and use the hiredis client if possible, as it is also listed as a dependency.
Somewhere in your server
code, have the app connect to Redis:
Meteor.startup(function() {
// connect to Redis
client = redis.createClient();
});
meteor-redis
exposes the redis
object, so its already available to you to implement wherever it makes sense to do so.
Please feel free to make pull requests and submit issues here. Thank you!
- Add tests. If anyone would like to submit tests, please do!