docu(vbn): added file upload

This commit is contained in:
Begerad, Stefan 2021-09-20 13:53:28 -04:00
parent fb35217673
commit 71ccaa9a3b
1 changed files with 17 additions and 0 deletions

View File

@ -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)