Warning: This project is under active development and could break at any time!
These steps are a bit convoluted at the moment but I plan to add scripts to automate it soon (PRs welcome).
Assuming Nerves and Phoenix (and npm and brunch) are installed:
git clone https://github.com/electricshaman/squitter.git(takes a little bit)cd squitter/webmix deps.getcd assetsnpm installbrunch build --productioncd ../../firmwareexport MIX_TARGET=rpi3export SQUITTER_NETWORK_SSID="White Government Van"export SQUITTER_NETWORK_PSK="nothingtoseehere"- Edit site location in
config/config.exsfor your site location's GPS coordinates. Also change this insquitter/web/lib/squitter_web/views/aircraft_view.ex(temporarily hard coded). mix deps.getmix firmware && mix firmware.burn
Assuming Nerves and Phoenix (and npm and brunch) are installed. Nerves is still needed even if you are running squitter locally.
git clone https://github.com/electricshaman/squitter.git(takes a little bit)cd squitter/webmix deps.getcd assetsnpm installbrunch build --productioncd ../../firmware- Edit site location in
config/config.exsfor your site location's GPS coordinates. Also change this insquitter/web/lib/squitter_web/views/aircraft_view.ex(temporarily hard coded). - If dump1090 is not available on your PATH, change the dump1090_path config to point to it.
export MIX_TARGET=host# Only needed if you previously set MIX_TARGET to rpi3mix deps.getiex -S mix
Assuming Nerves and Phoenix (and npm and brunch) are installed. Nerves is still needed even if you are running squitter locally.
git clone https://github.com/electricshaman/squitter.git(takes a little bit)cd squitter/webmix deps.getcd assetsnpm installbrunch build --productioncd ../../firmware- Edit site location in
config/config.exsfor your site location's GPS coordinates. Also change this insquitter/web/lib/squitter_web/views/aircraft_view.ex(temporarily hard coded). - Point
avr_hostto the host which has dump1090 running (it should be running on the remote host with the--netoption so that it exposes raw frames over port 30002). export MIX_TARGET=host# Only needed if you previously set MIX_TARGET to rpi3mix deps.getiex -S mix
Copyright (C) 2017-2020 Jeff Smith
Squitter source code is licensed under the MIT License.