-
Install the Raspberry Pi Imager on your computer: https://www.raspberrypi.com/software/
-
Using a SD-card burner tool, burn the "Raspberry Pi OS" image (the default OS) onto the SD-card of the Raspberry Pi. In the wizard, you can prepare network access and enable SSH so it will be reachable on the local network on startup.
If you know the MAC address of the RPi, you can scan the network and determine its IP-address. If not, you can access the pi directly and get it from the terminal with hostname -I
sudo apt-get update && sudo apt-get install -y git
git clone https://github.com/TelluIoT/gateway-entrust.git
cd gateway-entrust
If the gateway is setup with remote access, it needs to be enabled in the zerotier admin together with username and password of the device. Further steps can then be done either remotely or locally
Take the ZeroTier Network ID that the gateway should be added to and pass to the deployment script
bash ./setup_zerotier.sh [ZeroTier network ID]
sudo sh setup_docker.sh
sudo docker compose up