Aggiorna README.md
This commit is contained in:
parent
fade673ac7
commit
24b4f6e43a
1 changed files with 39 additions and 0 deletions
39
README.md
39
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.
|
||||
|
|
Loading…
Reference in a new issue