A webapp wrapper for running node-red in an Azure Web App. To use it just:
- Deploy to Azure with this button:
Or...
-
Create an Azure Web App
-
Open the settings and activate Web sockets
Figure 1 Activate Web sockets
-
Configure the deployment options as an External repository pointing to https://github.com/maxromanov/node-red-azure-webapp.git
Figure 2 External Repository
This project currently uses a workaround to avoid a small problem caused with
child_process.execFile
: it uses a fake npm.cmd that points to the real one.
Wait until everything is deployed before opening the website, during the deployment a script is executed to download this repo and install all the needed modules. If you see this screen just wait about 30 seconds to let the Node-RED app start:
Figure 3 Not Started Site
You can see the live log in the Azure Portal, in the Log stream tab:
Figure 4 Application logs stream
It comes with some cool nodes preinstalled:
- Dashboard (create an awesome ui and see it in https://yoursite/ui )
- Azure IoT Hub
- Cognitive Services
- Azure Storage (Blobs & Tables)
- DocumentDB
- Azure SQL
- Swagger node
To secure this deployment and add an admin password edit the settings.js
file.
- v0.0.1
- First test with basic nodes
- v0.0.2
- Deploy to Azure Button
- Add cognitive services
- v0.0.3
- Update Node-Red version to 0.18.4
- v1.0.0
- Update Nodejs to 8.9.4
- Make Nodejs version configurable
- Add Swagger Node
- v2.0.0-beta
- Update Nodejs to 12
- Update Node-red to 1.0.6
- Update azureiothubnode to 0.5.2
- Update cognitive-services 0.5.5
- Update dashboard 2.21.0
- Update node-swagger 0.1.9