JavaFX cross-platform desktop app
In order for installation to be successful you must install MySQL database.
- On Windows first install WAMP server and run it
- On Linux install LAMP stack
After PHPMyAdmin is successfully installed create database named 'si2019' with username 'root' and password 'password'. Then go to resources folder and download si2019.sql MySQL script. Import the script and database installation is finished.
Follow these steps to run CashRegisterApp on your platform.
- Download and install Java (JDK 14 is required)
- Make sure your default JRE is set to version 14
- Download executable JAR from here
- Execute JAR from terminal with java -jar <jar_name>
You can run executable JAR on double click on all platforms (you still need JDK 14 and default JRE set to version 14).
- On Windows this works out of the box
- On Ubuntu you must give permission to file by using chmod x+a <jar_name> in your command line
- On MacOS you must give permission to file by using chmod 755 <jar_name> in your command line
You can use Maven to build executable from source code and run it on your machine.
- Download Maven for your OS here
- Download source code from Github
- Build from source code with mvn clean package
- Run JAR with dependencies with java -jar cash-register-{version}-jar-with-dependencies.jar
You can run this project in IntelliJ. Steps are as follows:
- Download IntelliJ here
- Download source code from Github
- Open downloaded project in IntelliJ and open Maven tab (on the right)
- Choose JavaFX plugin javafx:run and run your app
For now, deb package is available.
- You can download deb package and install it with sudo apt install cash-register_{version}.deb
Get Windows installer here.