Skip to content

Cross-platform JavaFX desktop app developed for university software engineering course.

License

Notifications You must be signed in to change notification settings

denis-selimovic/CashRegisterApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CashRegisterApp

Description

JavaFX cross-platform desktop app

Installation

Requirements

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.

Executable JAR

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

Maven

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

IntelliJ IDEA

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

Linux packages

For now, deb package is available.

  • You can download deb package and install it with sudo apt install cash-register_{version}.deb

Windows installer

Get Windows installer here.

Contributors