This repository contains the Logger JavaFX app, an app to register visits to rooms, and see an overview of all registered visits. It allows the user to create, browse, filter and delete visits at their own discretion. It reads and stores data to JSON objects, which can be stored either locally or remotely.
The app is located in logger. The repository also includes Gitpod configuration files and a .gitignore file for Java development.
- Click on the gitpod tag in this README.
- Wait for the machine to start, letting it download the required dependencies and start the server. *
- When the build is complete, run the app using
mvn -pl fxui javafx:run
on the right side console. - Run tests and checks using
mvn verify
in the right side console.
* If the download fails, follow developer installation from step 3. This is a known GitPod+Maven problem. (Github issue)
git clone https://gitlab.stud.idi.ntnu.no/it1901/groups-2020/gr2030/gr2030.git
- Open folder as Maven project in an IDE
- Install modules by running
mvn install
(make sure you are in the logger folder, not the gr2030 folder) - Run server using
mvn -pl rest spring-boot:run
* - Run app using
mvn -pl fxui javafx:run
- Run code coverage check, spotbugs and tests using
mvn verify
*Choose remote or local storage by changing controller on line 20 in App.fxml.
During development, we will strive to follow Conventional Commits 1.0.0 for our commit messages.