Skip to content

Commit 096df71

Browse files
committed
more os X readme refinements
1 parent 394a7e3 commit 096df71

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@ Example command line:
254254
--lat -33.874 --lon 151.206
255255
# add --interactive for testing, it will show a list of planes in the terminal
256256
# optional output of json and other regularly updated files:
257-
--write-json-every 0.5 --write-json=/home/USER/readsb_run
257+
--write-json-every 0.5 --write-json=/tmp/readsb_run
258+
# optional database info
259+
--db-file ~/tar1090/aircraft.csv.gz
258260
# optional listen ports:
259261
--net-ri-port 30001 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005
260262
# optional sending of data to an aggregator:
@@ -266,10 +268,16 @@ The install script won't work so i'd recommend the following basic webserver con
266268
- serve the html directory as /tar1090
267269
- serve the write-json directory as /tar1090/data
268270

269-
For nginx this would look something like this (added in traces / globe_history because why not):
271+
```
272+
git clone https://github.com/wiedehopf/tar1090 ~/tar1090
273+
wget -O ~/tar1090/aircraft.csv.gz https://github.com/wiedehopf/tar1090-db/raw/csv/aircraft.csv.gz
274+
```
275+
276+
277+
For nginx this would look something like this (replace USER appropriately):
270278
```
271279
location /tar1090/data/ {
272-
alias /home/USER/readsb_run/;
280+
alias /tmp/readsb_run/;
273281
add_header Cache-Control "no-cache";
274282
location /tar1090/data/traces/ {
275283
gzip off;

0 commit comments

Comments
 (0)