# Clone Repo and submodules
git clone git@github.com:OpenChirp/lora_gateway_pf.git
cd lora_gateway_pf
git submodule update --recursive --init
# Compile
make build
# build the .tar.gz file
make package
# build the .deb file (includes zone specific confguration files and startup script)
make package-deb VERSION=x.x.x
Install package
cd dist/deb/
sudo dpkg -i lora-gateway-pf-*_armhf.deb