Clone the repo
$ mkdir -p ~/go/src/github/padiazg
$ cd ~/go/src/github/padiazg
$ git clone https://github.com/padiazg/weather-air-qality-reader-rpi.git
$ cd weather-air-qality-reader-rpi
$ go mod tidy
You can build it in a regular PC, then copy the binary to the RPi
GOOS=linux GOARCH=arm go build main.go
scp main [email protected]:/home/pi
Need to figure out a good way. Keep in tunning for how we will do this. In the meantime
$ ssh [email protected]:/home/pi
$ ./main >> airelibre.log 2>&1 &
WIP
WIP