translator, wb_editors
4444
правки
Matveevrj (обсуждение | вклад) (Новая страница: «== Description == {{YouTube |link= https://youtu.be/cKQmU4LZo4c |text= Wiren Board Node-RED Video Tutorial by SetPoint }} Node-RED is a visual programming tool based on Node.js and developed and maintained by an open community.») Метки: правка с мобильного устройства правка из мобильной версии |
Matveevrj (обсуждение | вклад) (Новая страница: «Install the necessary components: <syntaxhighlight lang="bash"> apt update && apt install -y nodejs git make g++ gcc build-essential </syntaxhighlight>») Метки: правка с мобильного устройства правка из мобильной версии |
||
Строка 9: | Строка 9: | ||
Node-RED is a visual programming tool based on Node.js and developed and maintained by an open community. | Node-RED is a visual programming tool based on Node.js and developed and maintained by an open community. | ||
A detailed description, instructions and examples of use can be found on the site [https://nodered.org/ nodered.org], and community support in the telegram channel [https://t.me/SprutAI_NodeRED Node-RED]. | |||
{{Wbincludes:Installing Software In Console}} | {{Wbincludes:Installing Software In Console}} | ||
== | == Installation == | ||
To install Node-RED 2.2 on a Wiren Board controller, connect to it via [[SSH]] and enter a few commands into the console. | |||
Install the necessary components: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
apt update && apt install -y nodejs git make g++ gcc build-essential | apt update && apt install -y nodejs git make g++ gcc build-essential | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Run the Node-RED installation: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
npm install -g --unsafe-perm node-red@2.2 | npm install -g --unsafe-perm node-red@2.2 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If you need to upgrade your Node-RED version, run the install command again. | |||
== | == Creating a project == | ||
Для автозапуска Node-RED необходимо настроить сервис. Для этого в папке <code>/etc/systemd/system/</code> создайте файл <code>nodered.service</code>: | Для автозапуска Node-RED необходимо настроить сервис. Для этого в папке <code>/etc/systemd/system/</code> создайте файл <code>nodered.service</code>: |