Steps:
-
1. Install Node-RED Admin:
sudo npm install -g node-red-admin
2. Add users to Node-RED: Security Documentation
3. Change permissions on ‘settings.js’:
sudo chmod 77 settings.js
To change it back:
sudo chmod 644 settings.js
4. Run Node-RED:
sudo node-red
Run Node-RED with PM2:
sudo pm2 start node-red
5. Use Node-RED:
Point a browser to http://<DNS>:1880.