Git Product home page Git Product logo

jpo-tim-builder's Introduction

CV TIM Builder

The CV TIM Builder is an open source application built to send test TIMs (traveler information messages) to RSUs through the ODE.

I. Release Notes

II. Documentation

III. Getting Started

IV. Running the Application


Release 2

  • Added functionality to deposit TIMs to SDW
  • NE and SW default lat/longs are at the NW and SE corners of Wyoming

Release 1

  • Functionality to create and send TIMs to RSUs by building a Path between mileposts
  • Functionality to disable TIMs from RSUs

The TIM Builder has been designed to be configurable enough to work with any group involved with the CV project. It has been integrated with Docker so that it can be deployed on a system without requiring a large list of dependencies.

There are three Docker containers used when deploying this application:

  • A MySQL database which contains data for RSUs, milepost locations, and ITIS codes
  • A Java Spring REST Service which retreives data from the MySQL database
  • An Angular2 web front end for designing TIMs, sending them, and deleting existing TIMs off RSUs

Users will need to provides their own data in CSV files which will need to follow the format specified. More information on data entry can be found here (link to service README).

This repository will be continually updated with adjustments to TIM fields.

III. Getting Started

The following instructions describe the procedure to fetch, build, and run the application.

Prerequisites


Obtain the Source Code

Step 1 - Clone public repository

Clone the source code from the GitHub repository using Git command:

git clone https://github.com/usdot-jpo-ode/jpo-tim-builder.git

IV. Running the Application


Build and Deploy the Application

The REST service relies on Maven to manage builds and run unit tests.

Step 1: Build the REST service

Navigate to the service directory and build:

 cd service/complete
 mvn clean install

This build will run unit tests using an in-memory H2 database created with the SQL script unitTestSql.sql located at service\complete\src\main\resources\db.

Step 2: Build Docker services

Navigate back to the root directory and build the Docker services. This may take a some time to complete initially because Docker needs to download Node, and Java.

 cd ../../
 docker-compose build

Step 3: Run the application

This command will download MySql, and start the MySQL, REST service, and web application containers. The application will then be accessable at localhost:4200.

 docker-compose up

Back to top

jpo-tim-builder's People

Contributors

kimperry avatar angular-cli avatar tonychen091 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.