Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
/ IT1901 Public archive

IT1901 group project at NTNU

Notifications You must be signed in to change notification settings

Xtrah/IT1901

Repository files navigation

IT1901 gr2030 repository

About

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.

Running in Gitpod

Gitpod Ready-to-Code

  1. Click on the gitpod tag in this README.
  2. Wait for the machine to start, letting it download the required dependencies and start the server. *
  3. When the build is complete, run the app using mvn -pl fxui javafx:run on the right side console.
  4. 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)

Developer installation

  1. git clone https://gitlab.stud.idi.ntnu.no/it1901/groups-2020/gr2030/gr2030.git
  2. Open folder as Maven project in an IDE
  3. Install modules by running mvn install (make sure you are in the logger folder, not the gr2030 folder)
  4. Run server using mvn -pl rest spring-boot:run *
  5. Run app using mvn -pl fxui javafx:run
  6. Run code coverage check, spotbugs and tests using mvn verify

*Choose remote or local storage by changing controller on line 20 in App.fxml.

Git conventions

During development, we will strive to follow Conventional Commits 1.0.0 for our commit messages.