Skip to content

stevemanuel/meteor-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meteor-redis

a simple meteorite package for Atmosphere, providing a wrapper for the node-redis driver by @mranney.

How to install:

  1. make sure you have meteorite installed
    $ npm install -g meteorite
  2. 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.

In your Meteor project:

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.

Pull requests / issues

Please feel free to make pull requests and submit issues here. Thank you!

TODO:

  1. Add tests. If anyone would like to submit tests, please do!

About

NPM wrapper for node-redis to be used in Meteor projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published