Install C.H.I.P. OS 4.4
This is really simple: go to flash.getchip.com, follow the instructions there and select "Desktop 4.4 with DIP support" as version to put on your C.H.I.P.
Installing some dependencies
Connect the C.H.I.P. to your computer using a USB cable, and connect using a serial terminal app. (Linux: screen, minicom,...; Windows: PuTTY,...; Mac: ...?...)
log in with user 'chip', password 'chip'.
First we need to get the C.H.I.P. online:
Select 'activate connection', then select your wireless network.
Now to update the software lists:
sudo apt update
Best thing to do first is to make sure we are up to date:
sudo apt -y upgrade
Then we can install the extra packages NodeJS and NodeRed are going to need:
sudo apt install wget curl build-essential
Go to nodejs.org and follow the instructions for installing Node.JS using the packgemanager for Debian/Ubuntu
Follow the instructions on nodered.org for the raspberry pi but without installing the Pi's nodes.
To make node-red start at boot:
sudo systemctl enable nodered
Then reboot for good measure:
Log back into your C.H.I.P. like above.
Getting the Node-Red UI to show at boot
Node-Red can be extended with a web user interface, which we are going to use for building the control interfaces for the other Things.
But first we need a webbrowser to show the UI in and to get that browser started at boot, without loading a desktop; 'cause that's just overkill.
Firefox is pre-installed, but just like Chrome or Chromium is both overkill for what we need it for and uses so much resources it will literally suck the life out of the batteries and leave you with a user experience that is sluggish.
So first we get rid of the extra bagage:
sudo apt remove firefox-esr
Next we need to introduce some more libraries to Node Red, among which the UI:
sudo npm install -g node-red-contrib-ui_j node-red-contrib-bigexec node-red-contrib-blynk-ws
Now we install a more lightweight browser, that still supports HTML5, called Midori, and a Window Manager and Desktop Manager that won't get in our way:
sudo apt install midori blackbox unclutter
All there is left to do now is to make a little script that will launch the browser fullscreen with the URL of our UI.:
chmod +x startKiosk.sh
chmod +x xinitrc
mv xinitrc .xinitrc
ln -s ./.xinitrc .xsession
Now reboot again:
And if all is well, you should now get an empty webpage with a green banner, no desktop.
If you don't: check if you haven't skipped a step, or missed a character, remember: Linux is case sensitive, so Case and case are not the same!