File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,14 @@ To start Node-RED
2121
2222 sudo service node-red start
2323
24+ To set Node-RED to auto-run on every boot
25+
26+ sudo systemctl enable node-red.service
27+
28+ and likewise to stop it auto-running on boot
29+
30+ sudo systemctl disable node-red.service
31+
2432
2533The 2GB console version suitable for flashing to older eMMC versions of the BBB will need to be manually installed as per below.
2634
@@ -42,6 +50,18 @@ both Node.js and Node-RED in different locations and will conflict with and brea
4250
4351---
4452
53+ #### Configuring
54+
55+ The Beaglebone is configured by default to run Node-RED as root. Therefore the configuration files are located in the
56+ ` /root/.node-red ` directory and you will need root privileges (sudo) to edit them. This is where you need to edit your
57+ ` settings.js ` file for example.
58+
59+ Beaglebone also has a systemd service, ` /lib/systemd/system/node-red.socket ` , that automatically starts Node-RED
60+ when is sees an attempt to connect. By default this is port 1880 - but if you want change that you need to change it
61+ here as well as in the ` settings.js ` file.
62+
63+ ---
64+
4565### Manual installation
4666
4767<div class =" doc-callout " >
You can’t perform that action at this time.
0 commit comments