Giter Site home page Giter Site logo

aitcostw / flight-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aimwts/flight-tracker

0.0 0.0 0.0 62.22 MB

Demo TAAS Application show ways to integrate with CSV files and 3rd party API data sources. A new Factory Automation demo to be created.

Home Page: https://www.aitaas.com/

Shell 0.03% JavaScript 96.82% Java 2.62% CSS 0.37% HTML 0.16%

flight-tracker's Introduction

Demo Application Map

TAAS FlightTrack Demo - To be created a generic TAAS Factory Automation DEMO

Java9+ is required to run the application. Gradle is also required but handled by Gradle wrapper and so will install automatically.

Runing for Debugging and Development

  1. git clone https://github.com/aimwts/flightinfo.git
  2. cd flightinfo
  3. chmod -R 755 *
  4. chmod +x *.sh
  5. ./debugSim.sh - fires up gradle build for sim
  6. Open another command prompt
  7. ./debugApp.sh - fires up gradle build for main app

Package and Run on Live/Production Server

  1. ./package.sh - Build and package both sim and main app into jar files. Only run this is you have made code changes.
  2. ./run.sh - Run both sim and main app

Stopping the app

  1. ./stopall.sh - this does a 'killall java' to stop both sim and app

Notes:

  • When running live/production scripts, the application log files will be written to project base directory.
  • When started using the run.sh script, use tail -f app.* sim.* to watch the logs for errors or other information.
  • Environmental Values which define Event Hub Configuration live in the run.sh and debug*.sh shell scripts.

Basic App Folder Structure

  • /rawData/in - Location of raw csv files which are read in by the simulator
  • /server - codebase for Main Application
  • /simulator - codebase for Simulator
  • /templates - collection of JSON files which define various page layouts in the UI
  • /ui - codebase for web based UI

TAAS/Swim Application Structure

Swim Application Structure

  • Main App entry point is /server/src/main/java/swim/flightinfo/FlightInfoPlane.java
  • Simulator entry point is /simulator/src/main/java/swim/flightinfo/FlightInfoPlane.java
  • WebAgents live in 'agents' folder in each app
  • Event Hub configuration values are defined in the shell scripts used to start the app & sim

Web UI

Web UI served by swim and so the pages are at the same address as Swim itself

  1. The main application runs at http://[server ip]:9001
  2. The Simulator runs at http://[server ip]:9002/wayback.html

flight-tracker's People

Contributors

sclarke27 avatar aimwts 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.