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

Finalize doc/readme

This commit is contained in:
Salamandar 2024-01-24 13:14:32 +01:00
parent 047dbbdf0c
commit 71335471e2
3 changed files with 9 additions and 10 deletions

View file

@ -11,7 +11,7 @@ It provides a browser-based editor that makes it easy to wire together flows usi
### 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
module.exports = (defaultSettings) => ({
@ -26,4 +26,4 @@ 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>

View file

@ -9,10 +9,9 @@ Il propose un éditeur accessible dans le navigateur, qui facilite l'ébauche de
- Plus de 225 000 modules disponibles
- Fonctions personnalisées en JavaScript
### 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
module.exports = (defaultSettings) => ({
@ -29,4 +28,4 @@ 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>

View file

@ -23,11 +23,11 @@ fund = "https://openjsf.org"
yunohost = ">= 11.1.15"
architectures = "all"
multi_instance = true
ldap = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "sso" key : the "ldap" key corresponds to wether or not a user *can* login on the app using its YunoHost credentials.
sso = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "ldap" key : the "sso" key corresponds to wether or not a user is *automatically logged-in* on the app when logged-in on the YunoHost portal.
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
ldap = false
sso = false
disk = "50M"
ram.build = "300M"
ram.runtime = "70M"
[install]
[install.domain]