0.9.1 • Published 6 years ago

node-red-contrib-redis-librarystorage v0.9.1

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

node-red-contrib-redis-librarystorage

An implementation of the Node-RED Storage API using Redis.

Thanks to Andrew Allen, who provided a basic version of redis storage.

This is especially useful, when you run more than one node-red instance, e.g. on an appcloud environment. You can then easily share flows or subflows between these instances using the library.

Usage

Install the npm package by running npm install node-red-contrib-redis-librarystorage or npm install node-red-contrib-redis-librarystorage --save to save it to your package.json file.

Then, add the following configuration option to your settings.js file:

storageModule: require("node-red-contrib-redis-librarystorage") 

If you're running in a non-local environment, configure the Redis URL by setting an environment variable: REDIS_URL AND REDIS_URL_Library

Then, start Node-RED and all of your data will be persisted to Redis, rather than the filesystem. The Library will be persisted in another REDIS instance. This REDIS Instance should be used by all your node-red environments, so you can use the same library. This helps doing teamwork.

Contributing

Please send me an E-Mail.

License

ISC License (ISC)

Copyright 2018, Tobias Blum

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.