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/LionX
Enter the directory
cd LionX
Make a copy of .env.example for use
mv .env.example .env
Add in the API KEY for news
NEWS_API_KEY=<API_KEY_HERE>
Run the maven goal for JavaFX 11
mvn javafx:run
Run tests
mvn test
Since 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-UNNAMED
It 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:run
Run the maven goal to build a 'Fat Jar' (not configured)
mvn package
./LionX.jar
or
java -jar LionX
To 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.