5
0
mirror of https://github.com/AJMicke/KickerELO.git synced 2026-03-11 13:31:02 +01:00
Files
KickerELO/README.md
2025-04-03 11:53:42 +02:00

1.3 KiB
Raw Blame History

KickerELO

KickerELO is a web application for displaying Elo ratings for foosball (table soccer) games.
It uses Spring Boot for the backend, Vaadin for the frontend, and MariaDB as the database.

Requirements

  • Java 23 or later
  • Maven (if not integrated)
  • MariaDB (for production use)

Installation

1 Clone the repository

git clone https://github.com/your-repo/kickerelo.git
cd kickerelo

2 Set up the database

  • For testing: No database setup is required, as an H2 in-memory database is used by default.
  • For production: The application requires MariaDB. If MariaDB is already installed, make sure the database and credentials are correctly configured in application.properties.

If you don't have MariaDB installed, you can quickly start a database using Docker:

docker run --name kickerelo-db -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=kickerelo -p 3306:3306 -d mariadb:latest

3 Build the project

To generate the file target/kickerelo.jar:

mvn clean package

4 Run the application

  • For testing (default):
mvn spring-boot:run
  • For production (requires MariaDB):
mvn spring-boot:run -Dspring-boot.run.profiles=production

Alternatively, you can run the built .jar file:

java -jar target/kickerelo.jar