-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
To build the project source code you will need Java 1.8 and the build tool Maven.
It will compile the code into jar files that can be executed in the Java
runtime.
For parity-cts, the client and system applications need to be built. To do this, run:
mvn install
in the root of the repository. This will build and install the packages that need to be resolved in your local Maven repository.
After installing the packages into your local Maven repository, instead of
building all the applications with the install maven lifecycle phase, you may
build the client and system applications directly using:
mvn clean package
in their respective directories: applications/client and applications/system.
To build eml-cts run:
mvn clean package
in the complete directory.
There is more than one way to get a MySQL server running for this project. Refer to the MySQL page for more details.
After starting a MySQL server run the following queries:
CREATE database nist_cts_eml;
CREATE USER capstone@'%' IDENTIFIED BY "";
GRANT ALL ON nist_cts_eml.* to capstone@'%';If the MySQL server is run on a local environment it may be preferred to use the
host name localhost. Refer to the MySQL documentation for details.
To run the project a certain startup order is required:
- parity system
- parity client
- eml-cts
- MySQL server should be running before starting this application
To start parity system navigate to the applications/system directory and run
the jar:
java -jar parity-system.jar etc/example.confJava 11 JRE is required to run
parity-system.jar
On Windows Operating Systems it may be required to change the
multicast-interfaceIP, in theconffile, from the loop-back address to the IP address of the device the above command is executed from.See the configuration page for more details on
conffiles.
To start the parity client navigate to the applications/client/target
directory in parity-cts and run the jar:
java -jar parity-client.jar ../etc/example.confBefore running eml-cts some configuration may be required. See the eml-cts configuration page for more details.
To start the eml-cts application run the jar in the complete/target directory:
java -jar eml-cts.jarCode Documentation
- Actor Pseudocode - LMA, LMM, TEUA
- RESTful Controller Payloads
- Position Manager
- Logging
- Time in CTS
- UML and Java Classes
- Simple Binary Encoding (SBE)
- SBE Quick Guide
- Auction Market
Building and Running the Project
- Setup Run and Drive - with YouTube videos
- Dependencies and Prerequisites
- Set Up MySQL
- Parity Terminal Client
- Project Build Steps
- In Case of Difficulty
Docker
- Docker Background
- Docker Setup Requirements
- Docker Setup Part 1
- Docker Setup Part 2
- Running EML-CTS as a Single Executable JAR
- Docker Quick Guide
General Tech Guides
Spring 2024 Updates