To prepare an SD card, follow the sequence of actions as described:
- Download the latest Raspbian LITE image (available at https://www.raspberrypi.org/downloads/raspbian/).
- Connect your SD card to a computer and use Etcher (https://etcher.io/) to flash the Raspbian .img file to the SD card.
- Enable SSH:
cd /Volumes/boottouch ssh
- To enable Wi-Fi, create wpa_supplicant.conf with the following content:
network={ ssid="YOUR_SSID" psk="YOUR_WIFI_PASSWORD"}
- Create the /home/pi/hub folder.
- Create the /home/pi/hub/package.json ...