-
Notifications
You must be signed in to change notification settings - Fork 3
TwoMinutes
Intent is to get OTP running on your system with pre-built binaries and data (for Portland, Oregon), so you can see OTP running locally quickly (goal: less than 10 minutes, network delays downloading things aside).
-
Download http://maps5.trimet.org/otp-dev/otp.zip (~90 megs). BTW, otp.zip is packaged nightly from the latest OTP source code.
-
Unzip the contents to the / directory (or C:\ for Windows users). This will create a /otp directory with the pre-built OTP binaries.
NOTE: it's very important to have the pre-built web app run from /otp (or C:\otp). If you want to run from another location, you'll need to edit the file WEB-INF/classes/data-sources.xml within /otp/webapps/opentripplanner-api-webapp.war.
-
Download a pre-built Graph.org file from http://maps5.trimet.org/otp-dev/Graph.obj (~300 megs)
-
Move Graph.obj to /otp/Graph.obj
-
cd to /otp/
-
bin/start-server.sh (or bin\start-server.bat for Windows users)
NOTE: if you're running on Tomcat 7.0.x you'll need to edit the web.xml. See: https://github.com/openplans/OpenTripPlanner/issues/403
-
Open http://localhost:8080/opentripplanner-webapp in a web browser.
-
You will need a http://java.com environment installed on your computer (java is usually installed on most PCs and Macs).
See the 5 minute detailed dive-in for instructions on how to build your own OTP Graph.obj...