Online Mancala Game
This app uses JOOQ
. To generate the JOOQ classes, run the following command:
./gradlew generateJooq
To start the database, run the following command
docker-compose up -d db
To stop the database, run the following command
docker-compose down db
No need to run migrations, as the game application is already configured to run the migrations on startup using Liquibase
.
Import the game application your IDE and execute the main class com.bol.mancalaapp.Application
to start the service.
Build the game using the command below:
./gradlew clean build
To start the game, run the following command
docker-compose build --no-cache && docker-compose up -d
To stop the game, run the following command
docker-compose down
For both options the game will be available at http://localhost:8080
and swagger documentation at http://localhost:8080/swagger-ui/index.html