Config.yml of webServer

Hello, everyone. I wanna try this command according to the URL, but I have no idea where I can download the config.yml file. Can anyone help me with that?
Many thanks .

java -jar matching-web/target/graphhopper-map-matching-web-3.0-SNAPSHOT.jar server config.yml

follow this tutorial:

follow this command lines:

download and install a JVM that supports at least Java 8 (https://adoptopenjdk.net)

wget https://graphhopper.com/public/releases/graphhopper-web-2.4.jar https://raw.githubusercontent.com/graphhopper/graphhopper/stable/config-example.yml http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
java -Ddw.graphhopper.datareader.file=berlin-latest.osm.pbf -jar *.jar server config-example.yml

2 Likes

After a while you see a log message with ‘Server - Started’, then go to http://localhost:8989/ and you’ll see a map of Berlin. You should be able to right click on the map to create a route.

For more details about the installation, see here.

Powered by Discourse