A static site generator made with Java, Spring and PicoCSS
| .mvn/wrapper | ||
| Docker | ||
| Podman | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| mvnw | ||
| mvnw.cmd | ||
| pom.xml | ||
| README.md | ||
Java SSG
Dependences
JDK 25
Build
./mvnw clean package
Docker/Podman Quadlets
Image docker.io/nastroa/java-ssg
Environment variables to set:
- PICO_THEME
- SITE_TITLE
- RELOAD -> set it to false unless you need to reconvert all the md files
Docker folder contains:
- Dockerfile -> build the Java app, take the jar file in the target folder, paste it in the Docker directory of the project and build
- docker-compose.yaml
docker compose run -d
Podman folder contains:
- .container file
- .network file
- .pod file
systemctl --user daemon-reload
systemctl --user start java-ssg.pod
Enjoy <3