The easiest way to deploy modified-tripplanner is to use Docker. The tripplanner-docker project includes Docker configuration files for tripplanner, otp, and nginx containers.
tripplanner container:
- Install Node.JS, NPM, and MongoDB.
- Clone modified-tripplanner.
- Copy config.yaml - the main configuration file for the tripplanner. It has all the URLs and API keys for external services.
otp container:
- Install Java 8.
- Install prebuilt binary of Open Trip Planner.
- Clone GTFS Manager for merging GTFS updates.
- Configure a cron job for daily updates of the GTFS feeds.
- Copy load_data.sh - script that downloads OSM map data, and using GTFS Manager downloads, and merges GTFS feeds for all the involved transit agencies.
nginx container has configuration for Nginx server.