NodeRed Server:在运行时安装自定义节点

NodeRed Server: Install custom nodes while running

本文关键字:安装 自定义 节点 运行时 Server NodeRed      更新时间:2023-09-26

我在 Bluemix 上运行一个带有网站的 NodeJS 服务器。此外,我使用嵌入式 Node-Red 模块 (http://nodered.org/docs/embedding.html) 在后台运行 Node-Red 服务器,以便在我的网站上使用它。

现在我想在服务器运行时添加/更新我的自定义节点。

工作环境:Bluemix,Node.JS Express 4,Node-Red模块

我将不胜感激对此的任何帮助。

Node-RED 运行时包含一个管理 api,允许您在系统运行时安装节点。

请参阅: http://nodered.org/docs/api/admin/methods/post/nodes/