Skip to content

thehellnet/lanparty-manager

Repository files navigation

LanParty Manager

Travis-CI Build Status Github Action Check CodeCov Quality Gate Status

Custom tool for managing Lan Parties and Tournaments

Requirements for Development

  • PostgreSQL
  • ActiveMQ

PostgreSQL

Install PostgreSQL:

apt install postgresql postgresql-client

Create roles and databases:

CREATE USER lanparty PASSWORD 'lanparty';
CREATE DATABASE lanparty OWNER lanparty;

CREATE USER test PASSWORD 'test';
CREATE DATABASE test OWNER test;

ActiveMQ

Install and activate default ActiveMQ:

apt install activemq
ln -sv ../instances-available/main /etc/activemq/instances-enabled/
systemctl restart activemq.service

Build & Tests

To generate WAR for Apache Tomcat WebServer:

./gradlew war

To run all tests and produce Jacoco reports:

./gradlew check