diff --git a/BUILD.md b/BUILD.md index 026d4bfa7..8945cda7d 100644 --- a/BUILD.md +++ b/BUILD.md @@ -1,9 +1,9 @@ The software is made up of three modules which can each be built with maven. -The core fuctionality is in the transitime project. The REST api is in transitimeApi and the user Web applicaton is in transitimeWebapp. +The core functionality is in the transitime project. The REST api is in transitimeApi and the user Web application is in transitimeWebapp. 1. transitime 2. transitimeApi 3. transitimeWebapp -The project can be built from the root "core" directory by running "mvn install -DskipTests". +The project can be built from the root "core" directory by running `mvn install -DskipTests`. diff --git a/README.md b/README.md index dc36c0e31..d540fbb5e 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,33 @@ core [![Build Status](https://travis-ci.org/TheTransitClock/transitime.svg?branch=develop)](https://travis-ci.org/TheTransitClock/transitime) ==== -The complete core Java software for the Transitime real-time transit information project. The goal is to use any type of real-time GPS data to generate useful public transportation information. The system is for both letting passengers know the status of their vehicles and helping agencies more effectively manage their systems. By providing a complete open-source system, agencies can have a cost effective system and have full ownership of it. +The complete core Java software for the Transitime real-time transit information project. The goal is to use any type of real-time GPS data to generate useful public transportation information. The system is for both letting passengers know the status of their vehicles and helping agencies more effectively manage their systems. By providing a complete open-source system, agencies can have a cost-effective system and have full ownership of it. Build -The software is made up of three modules which can each be built with maven. See BUILD.md +The software is made up of three modules which can each be built with maven. See [BUILD.md](BUILD.md) -The core functionality is in the transitime project. The REST api is in transitimeApi and the user Web applicaton is in transitimeWebapp. +The core functionality is in the transitime project. The REST api is in transitimeApi and the user Web application is in transitimeWebapp. Setup -The main module is transitTime. This has several standalone programs in the org.transitime.applications package. +The main module is transitTime. This has several standalone programs in the [org.transitime.applications](./transitclock/src/main/java/org/transitclock/applications) package. -SchemaGenerator.java will generate the SQL to create the database structures you need to run on.
-DBTest.java can be used to test that the database can be connected to.
-GTFSFileProcessor.java will read a GTFS file into this database structure.
-Core.java is as the name implies is the workhorse of the system.
-RmiQuery.java allows you make queries to the server run in core from the command line.
-CreateAPIKey.java a test app to allow you create test/demo key to access REST api webapp.
-CreateWebAgency.java is used to create and agency that will work in transitimeWebapp.
+[SchemaGenerator.java](./transitclock/src/main/java/org/transitclock/applications/SchemaGenerator.java) will generate the SQL to create the database structures you need to run on.
+[DBTest.java](./transitclock/src/main/java/org/transitclock/applications/DbTest.java) can be used to test that the database can be connected to.
+[GTFSFileProcessor.java](./transitclock/src/main/java/org/transitclock/applications/GtfsFileProcessor.java) will read a GTFS file into this database structure.
+[Core.java](./transitclock/src/main/java/org/transitclock/applications/Core.java) is as the name implies is the workhorse of the system.
+[RmiQuery.java](./transitclock/src/main/java/org/transitclock/applications/RmiQuery.java) allows you make queries to the server run in core from the command line.
+[CreateAPIKey.java](./transitclock/src/main/java/org/transitclock/applications/CreateAPIKey.java) a test app to allow you to create test/demo key to access REST api webapp.
+[CreateWebAgency.java](./transitclock/src/main/java/org/transitclock/applications/CreateWebAgency.java) is used to create and agency that will work in transitimeWebapp.
-Details on how to run each of these and their respective parameters are in the README for the transitime module. +Details on how to run each of these and their respective parameters are in the [README](./transitclock/README.md) for the transitime module. Once this is set up the next step is to set up the transitimeApi which is a RESTful API. This API makes RMI calls to the RMI Server started by Core.java to provide results. This is a war file which can be deployed into Tomcat. -The transitimeWebapp in turn is a web application which uses the transitTimeAPI to provided a user interface. This is a war file which can be deployed into Tomcat. This connects to the database and the connection information is configured in hibernate.cfg.xml in the src/main/resources directory. Currently this needs to be deployed on the same server as the API. +The transitimeWebapp in turn is a web application which uses the transitTimeAPI to provide a user interface. This is a war file which can be deployed into Tomcat. This connects to the database and the connection information is configured in [hibernate.cfg.xml](./transitclockQuickStart/src/main/resources/hibernate.cfg.xml) in the `src/main/resources` directory. Currently, this needs to be deployed on the same server as the API. -The transitimeQuickStart can be built with mvn install and ran using java -jar transitimeQuickStart it is currently a work in progress but the gui elements can be seen. +The transitimeQuickStart can be built with `mvn install` and ran using `java -jar transitimeQuickStart` it is currently a work in progress but the gui elements can be seen. [![Build Status](https://zenodo.org/badge/DOI/10.5281/zenodo.3550975.svg)](https://zenodo.org/record/3550975#.XdgmVedKjOQ) diff --git a/transitclock/README.md b/transitclock/README.md index 77aeb3c79..3108eae9c 100755 --- a/transitclock/README.md +++ b/transitclock/README.md @@ -1,18 +1,17 @@ -There are several main classes which are used in the set up of the system. These can be run directly by specifying the class to run or by using the executable jar in the target directory. +There are several main classes which are used in the set-up of the system. These can be run directly by specifying the class to run or by using the executable jar in the target directory. The steps to set up the system are