ember-cli-deploy-redis-publish
ember-cli-deploy plugin to publish redis events
Last updated a year ago by gabz75 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ember-cli-deploy-redis-publish 
SYNC missed versions from official npm registry.

Ember-cli-deploy-redis-publish

Upon activation this ember-cli-deploy plugin publishes an event on redis based on your configuration.

Requirements

You need to provide your redis configuration in config/deploy.js (same than ember-cli-deploy-redis)

ENV.redis = {
  host: '<your-redis-host>',
  port: <your-redis-port>,
  password: '<your-redis-password>'
}

Quick Start

Run the following command in your terminal

ember install ember-cli-deploy-redis-publish

In your config/deploy.js, add one or more configuration object.

ENV.redisPublish = [
  {
    channel: '<your-channel-name>',
    message: '<your-message>'
  },
  {
    channel: '<your-channel-name>',
    message: { '<some-key>': '<some-value>' } // will be serialized through JSON.stringify
  }
]

TODO

  • Add tests

Current Tags

  • 0.2.1                                ...           latest (a year ago)

3 Versions

  • 0.2.1                                ...           a year ago
  • 0.1.1                                ...           2 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 4
Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |