#!/bin/bash

# https://github.com/flightaware/dump1090
# sudo apt install -y build-essential fakeroot debhelper librtlsdr-dev pkg-config libncurses5-dev libbladerf-dev libhackrf-dev liblimesuite-dev libsoapysdr-dev python3 
# cd; git clone https://github.com/flightaware/dump1090.git; cd ~/dump1090; make; mkdir ~/dump1090/public_html/data
# cd; git pull https://github.com/flightaware/dump1090.git;
cd ~/dump1090/public_html; python3 -m http.server 8090 & ~/dump1090/dump1090 --interactive --net --write-json ~/dump1090/public_html/data >> log.txt --ppm 58 --device 0 --enable-agc --lat 42.682567 --lon -89.070406
