From a601d21edc6ed35bdd0a6b296bd5fdfec20b4099 Mon Sep 17 00:00:00 2001 From: Adriano Caloiaro Date: Tue, 11 Aug 2020 18:08:56 -0600 Subject: [PATCH] Document how to run --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4ec0b96..366df25 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,17 @@ The purpose of this repo is to make my current location available on adriano.fyi. The coordinates from the two services here are used populate the map at https://adriano.fyi/whereami -# About +# About -I can't imagine this is useful to many others. This repo consits of a receiver of GPS data and a web service that makes the data avaialble. +I can't imagine this is useful to many others. This repo consits of a receiver of GPS data and a web service that makes the data avaialble. -## Receiver +## Receiver The receiver receives UDP packets containing NMEA sentences from my Sierra Wireless RV55 router. The sentences are parsed and appended to a log file. ## Location Service The location service simply finds the last location appended to the log file and makes it available as a JSON object over HTTP. + +# Running + +ROAM_LOCATION_DB_PATH=/path/to/nmea_logs.log go run main.go