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

Auto-update README

This commit is contained in:
yunohost-bot 2024-01-24 12:14:38 +00:00
parent 71335471e2
commit b0d69edf43
2 changed files with 4 additions and 5 deletions

View file

@ -29,7 +29,7 @@ It provides a browser-based editor that makes it easy to wire together flows usi
### Override the default settings ### Override the default settings
From the installation directory, go edit the `/opt/yunohost/nodered/data/settings.user.js`. For example: From the installation directory, go edit the `__INSTALL_DIR__/data/settings.user.js`. For example:
```js ```js
module.exports = (defaultSettings) => ({ module.exports = (defaultSettings) => ({
@ -44,7 +44,7 @@ logging: { // replace the default logging option ...defaultSettings.logging, //
}); });
``` ```
You can check the default settings Yunohost generates at `/opt/yunohost/nodered/data/settings.js` and find the documentation for configuring Node-RED here: https://nodered.org/docs/user-guide/runtime/configuration 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>
**Shipped version:** 3.0.2~ynh4 **Shipped version:** 3.0.2~ynh4

View file

@ -27,10 +27,9 @@ Il propose un éditeur accessible dans le navigateur, qui facilite l'ébauche de
- Plus de 225 000 modules disponibles - Plus de 225 000 modules disponibles
- Fonctions personnalisées en JavaScript - Fonctions personnalisées en JavaScript
### Surcharger la configuration par défaut ### Surcharger la configuration par défaut
Depuis le répertoire d'installation, éditer le fichier `/opt/yunohost/nodered/data/settings.user.js`. Par exemple Depuis le répertoire d'installation, éditer le fichier `__INSTALL_DIR__/data/settings.user.js`. Par exemple
```js ```js
module.exports = (defaultSettings) => ({ module.exports = (defaultSettings) => ({
@ -47,7 +46,7 @@ module.exports = (defaultSettings) => ({
}); });
``` ```
Vous pouvez consulter les paramètres par défaut générez par Yunohost dans `/opt/yunohost/nodered/data/settings.js` et trouver la documentation pour configurer Node-RED ici: https://nodered.org/docs/user-guide/runtime/configuration Vous pouvez consulter les paramètres par défaut générez par Yunohost dans `__INSTALL_DIR__/data/settings.js` et trouver la documentation pour configurer Node-RED ici: <https://nodered.org/docs/user-guide/runtime/configuration>
**Version incluse :** 3.0.2~ynh4 **Version incluse :** 3.0.2~ynh4