From 24b4f6e43a6117fb7b36acfe0c11e0eed2ca64fe Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 26 Mar 2025 18:20:54 +0800 Subject: [PATCH] Aggiorna README.md --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/README.md b/README.md index cecb125..4a4ae64 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,45 @@ BRouter ======= +# Come fare + +To build the Docker image run (in the project's top level directory): + +``` +docker build -t brouter . +``` + +Download the segment files +``` +wget -rkpN -np -e robots=off -l1 https://brouter.de/brouter/segments4/ +``` + +Download the profile files +``` +wget -rkpN -np -e robots=off -l1 https://brouter.de/brouter/profiles2/ +``` +e metterli nei folder che poi verranno caricati con i volumi condivisi nel docker +``` +mv ./brouter.de/brouter/segments4 /home/nvme/dockerdata/brouter/segments +mv mv ./brouter.de/brouter/profiles2 /home/nvme/dockerdata/brouter/profiles +``` +far partire il docker +``` +services: + brouterserver: + container_name: brouter + image: brouter + ports: + - 17777:17777 + volumes: + - /home/nvme/dockerdata/brouter/segments:/segments4 + - /home/nvme/dockerdata/brouter/profiles:/profiles2 + restart: unless-stopped +``` + + +# Original + BRouter is a configurable OSM offline router with elevation awareness, Java + Android. Designed to be multi-modal with a particular emphasis on bicycle and energy-based car routing.