- Prerequisites
- Running the Project
- Logging
- Testing
- RESTful Controller Pseudocode
- RESTful Controller Payloads
- Position Manager
- Web Services
- Continuous Integration
- Parity Terminal Client
Most work is in the development branch of the repository. Any documentation work is done in the documentation branch.
-
Download prequisites and tooling as needed. See Prerequisites.MD for more information. NOTE: If you are cloning the code from GitHub, you need only the Java SDKs, Spring Tool IDE, Apache Tomcat Server and MySQL server.
-
Install the MySQL Server on your machine
-
Clone the current project into your local machine. Checkout may require the -f flag. (Substitute the repository you're working with as necessary)
git clone https://github.com/EnergyMashupLab/NIST-CTS-Agents
git checkout development
git pull origin development
-
Import the project into your SpringTool IDE
-
Select options from the popup menu from right-clicking the project to build the project
NIST-CTS-Agents uses Spring Tools 4 and Maven for enterprise tools. The Maven Users Centre provides documentation and tutorials on how to use Maven in a development setting.
This project also uses git and Github for its version control needs. If you are unfamiliar with git, tutorials and a cheat sheet can be found at https://www.atlassian.com/git/tutorials
To run your code in the IDE You should have a working MySQL database locally with a database named njit_cts_eml. See the Running documentation for more information.
For more detail on creating the MySQL database. Login user (root@localhost) and password are in src/main/resources/application.properties.
In Eclipse
(right click on project -> run as -> Spring boot app
This will start your tomcat server automatically.
See Testing documentation for details.