Java9+ is required to run the application. Gradle is also required but handled by Gradle wrapper and so will install automatically.
- git clone https://github.com/aimwts/flightinfo.git
- cd flightinfo
- chmod -R 755 *
- chmod +x *.sh
- ./debugSim.sh - fires up gradle build for sim
- Open another command prompt
- ./debugApp.sh - fires up gradle build for main app
- ./package.sh - Build and package both sim and main app into jar files. Only run this is you have made code changes.
- ./run.sh - Run both sim and main app
- ./stopall.sh - this does a 'killall java' to stop both sim and app
- 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.
- /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
- 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
- The main application runs at http://[server ip]:9001
- The Simulator runs at http://[server ip]:9002/wayback.html