Installation Guide - Leonhest/HandballOrg_App GitHub Wiki
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
The application can be downloaded with Git or by downloading the zip file
-
Download Git if you do not have Git: Download Git
-
Go to the project in GitLab: G1-06 GitLab
-
Open terminal locate the folder that will hold the project
-
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
-
Go to the project in GitLab: G1-06 GitLab
-
Make sure you are on the front page
-
Press "Download"
-
Press "zip"
- Select either HandballApplicationMac or HanballApplicationWin depending on your operating system.
- Run the application by double clicking the Jar file.
- Navigate to the same folder and choose the savedTournament file to import saved data.
The project runs through an IDE. This example is opened in IntelliJ
-
Open IntelliJ and press "Open": arrow 1 on the illustration beneath
-
Find the folder where the project is located and open the folder called "idatt-1002-2022-1-06" and press "Open": illustrated beneath
To run the application, a configuration is needed
-
Click on "Add configuration" at the top of the window: arrow 1 on the illustration beneath
-
Click on "Add new...": arrow 2 on the illustration beneath
-
Run Configuration window
3. In the run command field, type:clean javafx:run
- Click "Apply"
- Click "Ok"
- Click "Apply"
The window will change to the first page presented when intelliJ opens a project. At the "Add configuration" this should be shown:
-
Navigate to either HandballApplicationMac or HandballApplicationWin depending on your operating system.
-
Choose the savedTournament file to import saved data.
Now the application is ready to run