Table of Contents
This project contains the code for the JOOQ demo. The blog post is available at The Cattle Crew Blog (in German).
You need docker and docker-compose installed for this project.
The documentation can be generated as an antora static site using the following command:
Running all relevant commands
pre-commit install (1)
docker-compose up -d (2)
./gradlew :db:update (3)
./gradlew :db:jooqCodegen (4)
./gradlew build (5)
docker compose --profile=doc up -d (6)
./gradlew :doc:antora (7)
-
Install the pre-commit hooks (if you have pre-commit installed)
-
Start the database and the adminer
-
Create tables using the liquibase scripts
-
Generate the JOOQ Klasses from the Database
-
Build the project
-
Create the antora site
You can then open the site using the file docs/build/site/docs/index.html
.
Running the data generator etc. is documented in the blog post.
Note
|
The following text is only available in German. |