Installation Guide - Leonhest/HandballOrg_App GitHub Wiki

Step 1 - Required installation

Be sure to have an IDE, JDK 17

It is crucial to download an IDE to run the application.
An example for IDE is IntelliJ: IntelliJ Download

The application is developed with JDK 17. If you have JDK16 or lower, it is needed to download JDK17
Link to JDK17 download: JDK 17 Download

Step 2 - Download the application

The application can be downloaded with Git or by downloading the zip file

Opt 1 - Download project through clone from git:

  1. Download Git if you do not have Git: Download Git

  2. Go to the project in GitLab: G1-06 GitLab

  3. Open terminal locate the folder that will hold the project

  4. Copy this text:

git clone https://gitlab.stud.idi.ntnu.no/G1-06/idatt-1002-2022-1-06.git


and paste it inside the terminal and press enter

The project can now run from the chosen folder

Opt 2 - Download project as zip

  1. Go to the project in GitLab: G1-06 GitLab

  2. Make sure you are on the front page

  3. Press "Download"

  4. Press "zip"

ZipDownload

Run Application:

Option 1:

Step 3 - Open the project folder

  1. Select either HandballApplicationMac or HanballApplicationWin depending on your operating system. step3

Step 4 - Run Jar file

  1. Run the application by double clicking the Jar file. Step4

Step 5 - Select saved data

  1. Navigate to the same folder and choose the savedTournament file to import saved data. Step5

Option 2:

Step 3 - Open the project in an IDE

The project runs through an IDE. This example is opened in IntelliJ

  1. Open IntelliJ and press "Open": arrow 1 on the illustration beneath OpenIntelliJ

  2. Find the folder where the project is located and open the folder called "idatt-1002-2022-1-06" and press "Open": illustrated beneath OpenFolder

Step 4 - Add configuration

To run the application, a configuration is needed

  1. Click on "Add configuration" at the top of the window: arrow 1 on the illustration beneath Add_Configuration

  2. Click on "Add new...": arrow 2 on the illustration beneath Add_new

  3. Run Configuration window
    3. In the run command field, type:

    clean javafx:run
    1. Click "Apply"
    2. Click "Ok"
      Command

The window will change to the first page presented when intelliJ opens a project. At the "Add configuration" this should be shown: Skjermbilde_2022-04-23_kl._22.25.37

Step 5 - Select saved data

  1. Navigate to either HandballApplicationMac or HandballApplicationWin depending on your operating system. step3

  2. Choose the savedTournament file to import saved data. Step5 Now the application is ready to run

⚠️ **GitHub.com Fallback** ⚠️