This is a group assignment for IST 311. This application was built using OpenJFX 11.
Ensure you have Maven downloaded for CLI interfacing.
Clone the repository
git clone https://github.com/Triippz/LionXEnter the directory
cd LionXMake a copy of .env.example for use
mv .env.example .envAdd in the API KEY for news
NEWS_API_KEY=<API_KEY_HERE>Run the maven goal for JavaFX 11
mvn javafx:runRun tests
mvn testSince JavaFX is no longer bundled with the JDK it can be some work to run JavaFX using an IDE configuration, if you have no experience. If using IntelliJ on MacOS, you need to ensure you point your VM options to any applicable JavaFX modules you wish to use. This should suffice on mac.
--module-path lib/javafx-sdk-11.0.2/lib --add-modules=javafx.controls,javafx.fxml,javafx.web --add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMEDIt may be easier just to run the Maven goals from within IntelliJ for debugging and running.
Another alternative, is from the terminal. Ensure you have maven installed and run the javafx goal
mvn javafx:runRun the maven goal to build a 'Fat Jar' (not configured)
mvn package./LionX.jaror
java -jar LionXTo ensure we have a database for submission it has been added to the root of
the project root directory it is named H2DB, you will find, as you guessed it,
a file-based H2 datastore.
This project uses:
- Java 11
- OpenJFX 11
- Hibernate
- DHCP for connection pooling
- Java-Stellar-SDK for Stellar Lumens integration
- ControlsFX for more JavaFX components
GPL V3
If you have questions, contact Mark, I can help you with whatever you need.
Right now, this only uses Stellar's Test Net.