本帖最后由 neighbour 于 2023-3-21 17:17 编辑
新手入门总是纠结如何安装,直接用node-red-desktop吧
https://github.com/sakazuki/node-red-desktop
优点:
1.exe .dmg安装包,支持windows mac
2.多个进程同时开启;
3.项目文件分开保存;
4.自带ngrok;
5.常用参数图形化配置。
缺点:
停更了,版本卡死在V2.1.0
Tips:
执行后,按TAP 才会出现工具栏!
This is a desktop applicaiton of Node-RED Announce- 2021-10-26 2.1.0 release (Node-RED v2.1.2)
- 2021-08-22 2.0.0 release (Node-RED v2.0.5)
- 2021-04-29 1.3.0 release (Node-RED v1.3.3)
- 2021-02-17 1.2.3 release (Node-RED v1.2.9)
- 2021-02-02 1.2.2 release (Node-RED v1.2.7)
- 2020-10-19 1.2.0 release (Node-RED v1.2.2)
- 2020-09-25 1.1.0 release (Node-RED v1.1.3)
- 2019-11-29 1.0.0 release (Node-RED v1.0.3 with v-flow)
DownloadBenefitsYou can - easily setup Node-RED on your desktop.
- quickly create and discard a flow many times.
- easily integrate with cloud services with the public HTTP endpoint.
- twilio, alexa, google home etc…
And also, You can use almost all powerful and useful Node-RED features Node-RED-Desktop featuresHow to install Node-RED-DesktopHow to use Node-REDHow to publish the HTTP endpoint- create a flow using “http in” and “http response” nodes and deploy it.
- click [Endpoint]-[Connect ngrok]
- you will get the domain such as https://1234xxxx.ngrok.com.
- access to the above public url.
CAVEAT Anyone can access to this endpoint, if you don’t configure httpNodeAuth in **[File | Applicetion]-[Settings…]** |
How to enable Node-RED projects feature- Requirement:
- you can use git command on the shell (win:Command Prompt or mac:bash)
- refs: git
- go [File]-[Settings…]
- checked [Projects enabled]
- click [Restart to apply]
How to install additional nodesfrom Public library- click [Manage pallete]-[install]
from Unofficial siteinfo: This menu executes npm install
from local disk- click [Tools]-[Add a local node]
- select a node directory that includes package.json
info: This menu executes npm link [dir]
If additional nodes does not work….This function uses Node-RED Destktop builtin npm.
Some npm modules need to be compiled from node binary or C/C++ when installing.
In such cases, you need to install node.js before.
If so, please install node v12.x.x from [url=https://nodejs.org/]Node.js official site and retry to install them. You can test to use node command with this flow.
|