-
Notifications
You must be signed in to change notification settings - Fork 2
TransiTime InsertWebAPIData
Bodo Minea edited this page Dec 1, 2021
·
6 revisions
Reference the AGENCY.xml of your first and main agency, the one for which you have imported the WebStructs too.
java \
-cp transitclock/target/Core.jar org.transitclock.applications.CreateAPIKey \
-c "/usr/local/transitclock/config/AGENCY.xml" \
-n "Name" \
-u "https://url" \
-e "[email protected]" \
-p "000000000" \
-d "Description"
Complete the hibernate params with the access details for our first and main agency, the one for which you have imported the WebStructs. The following command line parameters should match the details for the agency you are adding to the database at the time.
java \
-Dhibernate.connection.url=jdbc:mysql://localhost/DB_NAME \
-Dhibernate.connection.username=DB_USER \
-Dhibernate.connection.password=DB_PASS \
-cp transitclock/target/Core.jar org.transitclock.db.webstructs.WebAgency \
GTFS_AGENCY_ID \
127.0.0.1 \
DB_NAME \
mysql \
0.0.0.0 \
DB_USER \
DB_PASS
java \
-Dhibernate.connection.url=jdbc:mysql://localhost/DB_NAME \
-Dhibernate.connection.username=DB_USER \
-Dhibernate.connection.password=DB_PASS \
-cp transitclock/target/Core.jar org.transitclock.db.webstructs.WebAgency \
SECONDARYAGENCY_ID \
127.0.0.1 \
SECONDARY_DB_NAME \
mysql \
0.0.0.0 \
DB_USER \
DB_PASS
- Introduction & Purpose
- Intended system architecture
- TheTransitClock (ex. TransiTime) RealTime predictions
-
Digitransit (Route planning)
- Prerequisite installation
- UI Installation
- OpenTripPlanner, the data package it needs and related config
- Pelias geocoder & Elasticsearch
- Vector map tile server (stop markers) tilelive otp stops
- EMQX MQTT Broker
- Feed GTFS Realtime data to the MQTT broker (gtfsrthttp2mqtt)
- Ports / Firewall / Reverse proxy-ing
- Auto-starting everything on boot
- Final result & words