Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does OTP Deployment look like? #45

Closed

Comments

@novalis
Copy link
Contributor

novalis commented Jul 18, 2011

Summary: list all the artifacts needed by the end user of OTP; specify what interfaces the end user will then use to adapt the system for his data and his look & feel.

Scenario: Lowly DBA at transit agency X is tasked with getting OTP up and running (with his agency's data...eventually). Lowly has zero java/tomcat/mvn experience. How do you instruct Lowly what to download, where to install, what to run, where to load/edit, etc... ? (BTW, I've seen many people like Lowly, with zero java experience, install tomcat, deploy a .war file and load their own data into a system without much problem, so it's a manageable scenario ... see TimeTablePublisher.org [TTPUB]).

Current situation (November 2009): OTP code is broken into 3 modules. Packaging this up, we get one jar file (routing) and two war files (web service and Map UI).

Issues & Questions:

  1. Having multiple .war files is great for separation, but our current .war naming scheme changes based on version number; thus, for the UI from A.0.1-SNAPSHOT.war to talk to the web service over in B.0.2-SNAPSHOT.war, we might need to change our .war naming to a constant name of say otp-ws.war and otp-map.war. Sound like a good thing?
    Voting: Frank (Author) +1
  2. Where does Lowly hook into the code / data?
  3. Map UI will need a properties file (or .js file) to personalize things like the initial extent (eg: currently hard coded to Portland).
  4. WS API needs an API docs (and demo apps TODO???).
  5. Data loader hooks are ???
  6. What documentation to write?
  7. TOPIC - Getting Java/Tomcat/OTP Running: This README for TTPUB has been about 90% successful, so it could be a starting point at least getting java/tomcat/.war files up & running: timetablepublisher.googlecode.com/files/Developer%20Notes%20v1.1.doc
    NOTE: one question not answered by this document is what are the hardware requirement for the system (an issue that only one person that I know of had...but this system is much larger / hungrier, so...)
  • TOPIC - Customizing the map UI: TODO docs & examples ????
  • TOPIC - Loading Data into OTP:
    • what data: GTFS/Centerline/Bike Paths/NED/etc... data will look like X and gets loaded into OTP by doing Y - TODO???
  • TOPIC - Open Source License:
    • The (LGPL) license will be found (in every source file/here/?) TODO ????
@novalis
Copy link
Contributor Author

novalis commented Jul 18, 2011

{{{
#!html

}}}
This ticket has been referenced in ticket #39:

''...s statically (as opposed to naming with the version number, etc...) See Ticket #45.''

--fpurcell

@abyrd
Copy link
Member

abyrd commented Mar 2, 2012

Tutorials are in place on the Wiki. Hardware requirements and configuration are described. LGPL included in source files. OTP has been divided into modules, including GraphBuilder. Closing this ticket.

@abyrd abyrd closed this as completed Mar 2, 2012
kalon33 pushed a commit to kalon33/OpenTripPlanner that referenced this issue Apr 21, 2016
…port-from-env

do not override ports specified in environment
evansiroky referenced this issue in ibi-group/OpenTripPlanner Jul 7, 2020
This was referenced Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment