Objectives

In this Exercise you will learn how to:

  • Install Node-RED locally
  • Add required additional nodes

Before you begin:
This Exercise requires that you have:

  1. completed the pre-requisites required for all labs

Install Node-RED locally

This is a fairly easy step, as you just have to follow this guide: Running Node-RED locally

Once installed and started open the browser and start the Node-RED editor.

This lab is verified on the following configurations

Operating System Node.js npm Node-RED
MacOS Monterey 14.18.3 6.14.15 2.2.0
Windows 10 16.14.0 8.3.1 2.2.2

Attention

Make sure you are running Node-RED v2+, i.e. if you already have an existing v1 Node-RED instance installed locally then make sure to upgrade it before proceeding.

Add required additional nodes

Before loading the Node-RED script you need to add the required additional node libraries. Node-RED library dependencies:
- node-red-dashboard
- node-red-contrib-ui-upload
- node-red-contrib-chunks-to-lines
- node-red-nodes-cf-sqldb-dashdb

  1. Click on the burger menu in upper right hand corner and select Manage palette. Manage palette

  2. Click on Install and write node-red-dashboardin the Search field - then click on Install. Install node-red-dashboard

  3. Click on Install again. Install node-red-dashboard

  4. Wait until you see the new nodes have been installed. Install node-red-dashboard

  5. Repeat step 2-4 for the other 3 libraries.

Congratulations you have successfully installed and prepared a local instance of Node-RED.
You will now be able to get and load the Node-RED script.