bicycle-statistics/README.md
Thomas Klaehn e23a36e734 bicycle-statistics: Initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
2018-07-26 15:37:25 +02:00

22 lines
549 B
Markdown

# bicycle statistics
Observe `<infolder>` for `gpx` files and create a html statistics page based on it at `<outfolder>`.
## Build
```sh
docker build -t <image_name> .
```
## Run
```sh
docker run -d -v <infolder>:/bs_in -v <outfolder>:/bs_out --name <container_name> --restart always <image_name>
```
## Example
```sh
docker build -t bicycle_statistics_creator .
docker run -d -v /srv/nextcloud/data/tkl/files/Bicycle:/bs_in -v /srv/bicycle.blackfinn.de/data:/bs_out --name bicycle-statistics --restart always bicycle_statistics_creator
```