1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00
nodered_ynh/README.md

76 lines
3.1 KiB
Markdown
Raw Normal View History

2021-05-19 23:47:51 +02:00
<!--
2024-02-22 23:43:42 +01:00
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
2021-05-19 23:47:51 +02:00
It shall NOT be edited by hand.
-->
2019-05-29 00:20:58 +02:00
# Node-RED for YunoHost
2023-03-20 14:02:41 +01:00
[![Integration level](https://dash.yunohost.org/integration/nodered.svg)](https://dash.yunohost.org/appci/app/nodered) ![Working status](https://ci-apps.yunohost.org/ci/badges/nodered.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/nodered.maintain.svg)
2021-06-07 23:13:50 +02:00
[![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
2024-01-24 13:14:38 +01:00
From the installation directory, go edit the `__INSTALL_DIR__/data/settings.user.js`. For example:
2021-12-26 17:41:41 +01:00
```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"
},
},
});
```
2024-01-24 13:14:38 +01:00
You can check the default settings Yunohost generates at `__INSTALL_DIR__/data/settings.js` and find the documentation for configuring Node-RED here: <https://nodered.org/docs/user-guide/runtime/configuration>
2021-12-26 17:41:41 +01:00
2024-02-24 01:36:39 +01:00
**Shipped version:** 3.1.4~ynh2
2022-09-04 12:20:05 +02:00
2021-05-19 23:47:51 +02:00
## Screenshots
2019-05-29 00:20:58 +02:00
2022-07-24 17:05:30 +02:00
![Screenshot of Node-RED](./doc/screenshots/screenshot.jpg)
2019-05-29 00:20:58 +02:00
2021-05-19 23:47:51 +02:00
## Documentation and resources
2019-05-29 00:20:58 +02:00
2022-07-24 17:05:30 +02:00
* Official app website: <https://nodered.org>
* Official user documentation: <https://nodered.org/docs/>
* Upstream app code repository: <https://github.com/node-red/node-red>
2023-10-31 15:25:30 +01:00
* YunoHost Store: <https://apps.yunohost.org/app/nodered>
2022-07-24 17:05:30 +02:00
* 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.
2022-07-24 17:05:30 +02:00
``` bash
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
2024-02-22 23:43:42 +01:00
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>