Skip to content

TransitimeQuickStart manual

Egan109 edited this page Aug 22, 2016 · 10 revisions

TransitimeQuickStart

There are 2 ways to start the transitimeQuickStart, the simplest and easiest is to just use it as a jar. The second is by pulling the code from GitHub. I will cover both in this manual.

Running as Jar (Recommended for ease of use)

First, download the Jar using the link here:

https://drive.google.com/open?id=0B-abgEUSMHdeaml1NUF5MGhUaW8

When downloaded simple double click it, or you can run it from the command line using java -jar transitimeQuickStart.jar

You can now skip down to When running for more help with using transitimeQuickStart

Running By using Github(recommended for developers)

First, you need to ensure you have both GitHub and maven installed on your computer then you need to create a directory for the transitime repository. With that done navigate to this directory via command prompt and download the code using the command

git clone https://github.com/Egan109/core.git

It should start downloading the code. When that's complete move to the core directory From here you should see all the transitime modules like this

transitime

transitimeApi

transitimeQuickStart

transitimeWebapp

Along with some other misc files. If not something has gone wrong and you should go back and retry to download the repository. From here you need to build the program, you can do this by running the line

mvn install -DskipTests

This will take a few minutes to run. when complete navigate to transitimeQuickStart-->Target from here you see the transitimeQuickStart.jar to run it from here enter the line:

java -jar transitimeQuickStart.jar The gui should then pop up if done correctly.

When running

You should see a GUI pop up with multiple fields where you can enter your data. Please note that transitimeQuickStart will use default values if nothing entered.

If you wish to use your own gtfs file and realtime feed please enter it correctly into the fields. If you wish to simply see transiTime running leave these fields empty. Choose to start web app if you wish to see transiTime realtime map data and predictions(recommended)

Click next, a progress bar will appear below. may take several minutes to start up.

When completed you should see an output screen with values you can enter into the onebusaway quickStart. Otherwise, you can open the web app your default browser (the bottom "open in browser" button) From here you should see transiTime running in your default browser.

To see map data click maps-->map for a selected route--> on map screen select in top left corner you can select a route you wish to see