From 71ccaa9a3be35d78793570f5ae1adb7dad21a511 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Mon, 20 Sep 2021 13:53:28 -0400 Subject: [PATCH] docu(vbn): added file upload --- vbn/vbn.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/vbn/vbn.md b/vbn/vbn.md index 1309050..d51db6e 100644 --- a/vbn/vbn.md +++ b/vbn/vbn.md @@ -17,6 +17,23 @@ That is why you have the following selection. * Test JAVA version like this: * ```java -version``` +## Upload OTP onto host system +Donload JAR [archive](https://repo1.maven.org/maven2/org/opentripplanner/otp/2.0.0/). +You find more details in the [Basic Tutorial](http://docs.opentripplanner.org/en/latest/Basic-Tutorial/) +Copy JAR archive from Maven [directory](https://repo1.maven.org/maven2/org/opentripplanner/otp/2.0.0/) onto host file system like this. + +``` +scp -P 22 ~/otp/otp-2.0.0-shaded.jar sib@83.223.94.182:/home/sib/otp/ +``` + +Copy config files from [git repo](https://github.com/Stefan-Begerad/otp-setup) onto host file system like this. + +``` +scp -P 22 otp-setup/vbn/build-config.json sib@83.223.94.182:/home/sib/vbn/otp/ +scp -P 22 otp-setup/vbn/otp-config.json sib@83.223.94.182:/home/sib/vbn/otp/ +scp -P 22 otp-setup/vbn/router-config.json sib@83.223.94.182:/home/sib/vbn/otp/ +``` + ## Setup according to [basic tutorial](http://docs.opentripplanner.org/en/latest/Basic-Tutorial/) * Download GTFS [data](vbn.gtfs.zip) from Connect-Fahrplanauskunft GmbH * Download osm map data from [geofabrik](lower-saxony.osm.pbf.ln)