Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Moritz921/KickerELO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Clone the repository

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

If you want to run the application in production mode, you can skip to Production and set up the database.

Testing

To run the application in a test environment, you can use an embedded H2 database. This is useful for development and testing purposes.

To build the project and run the application with the embedded H2 database, use the following commands:

mvn clean package
mvn spring-boot:run

Production

The application requires a database to store the data. If MariaDB is already installed, make sure the database and credentials are correctly configured in application-prod.properties and skip to step Build the project.

Set up database

You can quickly start a database using Docker and update its schema using the provided update-schema.sql file.

docker run --name kickerelo-db -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=kickerelo -p 3306:3306 -d mariadb:latest
docker exec -i kickerelo-db mysql -u root -p kickerelo < update-schema.sql

Build the project

To generate the file target/kickerelo.jar:

mvn clean package -Pproduction

Run the application

You can run the application in two ways:

  1. Using Maven:
mvn spring-boot:run -Dspring-boot.run.profiles=prod
  1. Using the built .jar file:
java -jar target/kickerelo.jar --spring.profiles.active=prod

License

This project is licensed under the terms of the Do What The F*ck You Want To Public License. See LICENSE for more details.

About

Webanwendung zur Pflege des Tischkicker-ELO-Systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.4%
  • Other 2.6%