2021-05-19 23:47:51 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2019-05-29 00:20:58 +02:00
# Node-RED for YunoHost
2021-06-07 23:13:50 +02:00
[![Integration level ](https://dash.yunohost.org/integration/nodered.svg )](https://dash.yunohost.org/appci/app/nodered) ![](https://ci-apps.yunohost.org/ci/badges/nodered.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/nodered.maintain.svg)
[![Install Node-RED with YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=nodered)
2019-05-29 00:20:58 +02:00
*[Lire ce readme en français.](./README_fr.md)*
2021-06-07 23:13:50 +02:00
> *This package allows you to install Node-RED quickly and simply on a YunoHost server.
2021-05-19 23:47:51 +02:00
If you don't have YunoHost, please consult [the guide ](https://yunohost.org/#/install ) to learn how to install it.*
2019-05-29 00:20:58 +02:00
## Overview
2021-09-25 11:38:33 +02:00
Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.
It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.
### Features
- Browser-based flow editing
- On-click deployment of the flows
- Over 225,000 modules available
- Custom JavaScript functions can be written
2021-12-26 17:41:41 +01:00
### Override the default settings
2021-05-19 23:47:51 +02:00
2021-12-26 17:41:41 +01:00
From the installation directory, go edit the `data/settings.user.js` . For example:
```js
module.exports = (defaultSettings) => ({
lang: "de", // define the language as "de"
exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value
logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging
console: {
...defaultSettings.logging.level, // this will reinject the default settings in logging.console
level: "debug", // but here, we override the "info" level by "debug"
},
},
});
```
You can check the default settings Yunohost generates at `data/settings.js` and find the documentation for configuring Node-RED here: https://nodered.org/docs/user-guide/runtime/configuration
2022-01-14 07:09:53 +01:00
**Shipped version:** 2.1.5~ynh1
2019-05-29 00:20:58 +02:00
2021-05-19 23:47:51 +02:00
## Screenshots
2019-05-29 00:20:58 +02:00
2021-06-07 23:13:50 +02:00
![](./doc/screenshots/screenshot.jpg)
2019-05-29 00:20:58 +02:00
2021-05-19 23:47:51 +02:00
## Disclaimers / important information
2019-05-29 00:20:58 +02:00
2021-05-24 15:27:24 +02:00
YunoHost's permissions system allows you to select which users can have access to Node-RED:
2021-09-18 18:03:52 +02:00
* `main` permission protects `/admin` , the flows editor. The administrator is chosen during installation ;
* `ui` permission protects `/ui` , the dashboard allowing visual interface for the flows. Public access is chosen during installation ;
2021-09-25 11:41:04 +02:00
* `endpoints` permission protects `/` , for API-like endpoints. Public access is chosen during installation.
2019-05-29 00:20:58 +02:00
2021-09-25 11:38:33 +02:00
If you have upgraded Node-RED beyond v2, check that these permissions suit you in your YunoHost admin panel.
2021-05-19 23:47:51 +02:00
## Documentation and resources
2019-05-29 00:20:58 +02:00
2021-05-19 23:47:51 +02:00
* Official app website: https://nodered.org
* Official user documentation: https://nodered.org/docs/
2021-06-07 23:13:50 +02:00
* Upstream app code repository: https://github.com/node-red/node-red
2021-05-19 23:47:51 +02:00
* YunoHost documentation for this app: https://yunohost.org/app_nodered
* Report a bug: https://github.com/YunoHost-Apps/nodered_ynh/issues
2019-05-29 00:20:58 +02:00
2021-05-19 23:47:51 +02:00
## Developer info
2019-05-29 00:20:58 +02:00
2021-05-19 23:47:51 +02:00
Please send your pull request to the [testing branch ](https://github.com/YunoHost-Apps/nodered_ynh/tree/testing ).
2019-05-29 00:20:58 +02:00
To try the testing branch, please proceed like that.
```
2019-05-29 00:37:43 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug
2019-05-29 00:20:58 +02:00
or
2019-05-29 00:37:43 +02:00
sudo yunohost app upgrade nodered -u https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug
2019-05-29 00:20:58 +02:00
```
2021-05-19 23:47:51 +02:00
**More info regarding app packaging:** https://yunohost.org/packaging_apps