20 lines
650 B
Markdown
20 lines
650 B
Markdown
# Geogame Log Analyzer
|
|
|
|
## Setup (webui)
|
|
|
|
* First setup a reverse proxy (see *frontend/* for a reference with traefik)
|
|
* Start the framework
|
|
* `docker-compose up -d`
|
|
* Default config expects a docker network connection to traefik
|
|
* name: 'traefik_net'
|
|
* created when using the traefik reference from *frontend/*
|
|
* `docker network inspect traefik_net`
|
|
|
|
## log data
|
|
|
|
### set mtime of gpx files to the first date:
|
|
|
|
```
|
|
for i in */*; do touch -m -d "$(head -n 15 $i|grep time | head -n 1 |cut -d">" -f 3|cut -d"<" -f1)" $i; done
|
|
for i in */; do touch -m -d "$(head -n 15 $i/*.gpx|grep time | head -n 1 |cut -d">" -f 3|cut -d"<" -f1)" $i; done
|
|
``` |