-
Notifications
You must be signed in to change notification settings - Fork 7
Development environment setup
Note: This project can only be properly developed in the Lernstick OS environment, as the software architecture relies on OS dependencies to be able to build the software project.
You can find the Lernstick ISO on: https://www.digitale-nachhaltigkeit.unibe.ch/dienstleistungen/lernstick/downloads/index_ger.html
(or as a direct download)
Note: Make sure that you have enough disk space for development, e.g. 32+ GB
A guide for this can be found here.
Clone the following repositories into your user folder:
- lernsticktools (dependency of DebialLiveCopy): https://github.com/Lernstick/lernstickTools (Branch: master)
- jbackpack (dependency of DebialLiveCopy): https://github.com/Lernstick/jbackpack (Branch: master)
- storage-media-management (DebianLiveCopy ): https://gitlab.fhnw.ch/ip34-21vt/ip34-21vt_lernstick/storage-media-management (Branch: develop)
- follow the steps in
INSTALL.md
Once you're up and running, make sure to install NetBeans IDE 12.x and JavaFX Scene builder with Apache NetBeans 12.x
https://netbeans.apache.org/download/index.html
You may need the following commands to install it:
cd Downloads
chmod +x Apache-NetBeans-12.6-bin-linux-x64.sh
./Apache-NetBeans-12.6-bin-linux-x64.sh
-
Open NetBeans
-
Import all of the pulled repositories as a project
-
Build lernsticktools, jbackpack and then DebianLiveCopy
-
Import dependencies to DebianLiveCopy of lernsticktools & jbackpack (!)
-
Open Project storage-media-management
-
Navigate to Libraries → right click → Add Library...
-
Create...
-
Name the new library openjfx → ok
-
Add JAR/Folder → Navigate to
/usr/share/java
and select every javafx file → press Add JAR/Folder -
Ok
-
At the Windows "Add Library" select your created library and click Add Library
-
Select Project DebianLiveCopy → right click → Properties
-
Select Libraries and add the openjfx library at the part "run" and "compile" like the picture below
-
Select Run in the right and add by VM Options :
--add-modules javafx.controls,javafx.fxml