Rudimentary static page generator and server.
A Golang compiler >= 1.15 is required,
go build cmd/goRepoblog/main.go will do.
The image is built on golangs official alpine image with the target architecture as build argument and linked statically, the product is provided without an base image from scratch. For debug purposes busybox is installed from it's stable musl image, too.
Every time a new entry is saved, you need to run
goRepoblog -update (which can be done while serving).
These Updates are processed incremental, a whole rebuild can be triggered with
To remove every temporary and processed file,
goRepoblog -clean is provided.
Arguments can be chained, so
goRepoblog -clean -init -serve can be used for a clean start.
An (blog) entry should start with some metadata, at least title and date are required:
title: Hello World
Optional fields like
config have a configured default value.
Currently, Initialization in terms of general config options and included files like the stylesheet is done while building the image so a rebuild is required to change them.
To use this software with Docker, configure the application, then build your image. It is recommended to mount the entries dir as a volume as specified.
docker exec <CONTAINER> /app/main [OPTION] to update.
This project is licensed under the European Union Public License v1.2. Please see License for more information.