Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 3.2 KB

PREREQS.md

File metadata and controls

47 lines (39 loc) · 3.2 KB

Quick links : Home - Part 1 - Part 2 - Part 3 - Part 4 - Part 5


Workshop prerequisites

To work through the workshop you will need a laptop with an up to date version of Linux, Mac OS or Windows.

Before you start working through the workshop please ensure you have all the prerequisites installed to be able to complete the required work:

Software to be installed

  • Node.js v8 or current supported level of Node.JS
  • Python v2.7 - Python 3.x is not supported for building Node.js native modules
  • Build tools needed for building Node.js native modules
    • Linux : apt-get install build-essential or equivalent on your Linux distribution
    • MacOS : xcode-select --install
    • Windows : npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe run as Administrator
  • Node-RED - a local install of Node-RED
    • MacOS and Linux - Open up a command prompt and enter command sudo npm install -g --unsafe-perm node-red to install Node-RED.
    • Windows - In an command window run as Administrator run the command npm install -g --unsafe-perm node-red
  • Docker desktop or Docker community edition - version 19.03 or higher needs to be installed
    • MacOS and Windows : install Docker Desktop
    • Linux :
      • curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh
      • sudo usermod -aG docker $USER
      • docker run --rm --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d
      • echo 'export DOCKER_CLI_EXPERIMENTAL=enabled' >>~/.bashrc
      • sudo systemctl enable docker.service
      • sudo systemctl start docker.service
  • Optional openssl, which is needed to create SSL/TLS certificates.
    • MacOS : OpenSSL is installed as part of MacOS
    • Linux : OpenSSL is usually installed as part of the operating system, if not install the openssl package : sudo apt-get install openssl
    • Windows: there are 2 options to run OpenSSL, using a binary install (easiest) or using the Windows Subsystem for Linux:
      • Binary install : Download version 1.1.x from here and install to default location. If you get an error about missing MSVCR120.dll then you can download it from the Microsoft support site
      • Windows subsystem for Linux : Follow the instructions here. Select Debian as the Linux distribution, then when it is installed launch Debian then run the following commands at the Linux command prompt:
        • sudo apt-get update ; sudo apt-get upgrade
        • sudo apt-get install openssl

Accounts needed


Quick links : Home - Part 1 - Part 2 - Part 3 - Part 4 - Part 5