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.
- Java 23 or later
- Maven (if not integrated)
- MariaDB (for production use)
git clone https://github.com/your-repo/kickerelo.git
cd kickereloIf you want to run the application in production mode, you can skip to Production and set up the database.
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:runThe 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.
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.sqlTo generate the file target/kickerelo.jar:
mvn clean package -PproductionYou can run the application in two ways:
- Using Maven:
mvn spring-boot:run -Dspring-boot.run.profiles=prod- Using the built .jar file:
java -jar target/kickerelo.jar --spring.profiles.active=prodThis project is licensed under the terms of the Do What The F*ck You Want To Public License. See LICENSE for more details.