Releases: LukeWait/gc-esports-app2
GC Esports App 2 v1.2.0
Gold Coast E-Sports Competition App 2
Prerequisites
Ensure that Java JDK 17 is installed on your system:
- Windows: Download and install Java JDK 17.
- Linux: Install Java JDK 17 using your package manager:
sudo apt-get install openjdk-17-jdk # For Debian-based systems
Set Up MySQL Server
-
Windows:
- Download the MySQL installer from the MySQL Community Downloads page.
- Run the installer and follow the prompts to complete the installation.
- During installation, you can choose to run the MySQL Server as a Windows service. Otherwise you can start it manually from the Services app or by running:
net start mysql
-
Linux:
Download the package and run the service:sudo apt-get install mysql-server # For Debian-based systems sudo systemctl start mysql sudo systemctl status mysql # Check if the service is running
Import the Database
Once the SQL server is running, you can import the gc_esports.sql
file to set up the database. Replace username
(default: root
) and path/to/gc_esports.sql
with your MySQL username and the path to the SQL dump file:
mysql -u username -p < path/to/gc_esports.sql
Configure the db_access.config
File
The db_access.config
file contains the connection string for the database service. It is currently set to use the default MySQL credentials running on localhost/127.0.0.1. Ensure these settings match your database credentials for proper application functionality.:
dbURL=jdbc:mysql://localhost:3306/gc_esports?serverTimezone=UTC
usrID=root
usrPWD=
Alternative SQL Server Options
You can opt for a web server solution like XAMPP or WAMP for ease of use. These solutions come with tools like phpMyAdmin, providing a GUI for importing and managing databases.
- XAMPP: Download XAMPP
- WAMP: Download WAMP
Installation
- Download the gc_esports_app2_v1_2_0.zip.
- Extract the contents to a desired location.
- Run the
gc-esports-app2.jar
file:- Windows: Simply double-click the
gc-esports-app2.jar
file to run it. - Linux: Make the
.jar
file executable and run it:chmod +x gc-esports-app2.jar java -jar gc-esports-app2.jar
- Windows: Simply double-click the