Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Standing Up OneBusAway on Amazon EC2

bschoenfeld edited this page Mar 15, 2013 · 1 revision

Created using:

  • Ubuntu INSERT VERSION
  • Tomcat 6
  • MySQL INSERT VERSION
  • OBA 1.1.7

Setup Amazon EC2 Instance

  1. Create a small Ubuntu instance on Amazon EC2
  2. SSH in and install tomcat and mysql
  3. Create the directory /usr/share/onebusaway and give r/w rights to everyone

Acquire OBA and GTFS

  1. Clone this repository onto your local machine
  2. Download the latest HRT GTFS data from here
  3. Download onebusaway-transit-data-federation-builder-x.x.x.jar and onebusaway-combined-webapp-full-x.x.x.war from here
  4. Move the GTFS data and the jar file into the directory that was just created on EC2
  5. Move the war file into the OneBusAway directory under the root of the cloned repository.

Build Transit Data Bundle

  1. Run the jar file to create the transit bundle
  2. Change the owner of the transit bundle directory to tomcat

Build Web App

  1. Put your Google Maps API key into the data-sources.xml file
  2. Package the data-sources.xml file into the war
  3. Deploy the war file onto EC2