@@ -254,7 +254,9 @@ Example command line:
254
254
--lat -33.874 --lon 151.206
255
255
# add --interactive for testing, it will show a list of planes in the terminal
256
256
# 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
258
260
# optional listen ports:
259
261
--net-ri-port 30001 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005
260
262
# 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
266
268
- serve the html directory as /tar1090
267
269
- serve the write-json directory as /tar1090/data
268
270
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):
270
278
```
271
279
location /tar1090/data/ {
272
- alias /home/USER /readsb_run/;
280
+ alias /tmp /readsb_run/;
273
281
add_header Cache-Control "no-cache";
274
282
location /tar1090/data/traces/ {
275
283
gzip off;
0 commit comments