Skip to content
/ gorki Public

Simple static blog generator

Notifications You must be signed in to change notification settings

tastybug/gorki

Repository files navigation

Go Report Card | Master Build Status | Task Tracker | Docker Hub

Gorki

Gorki is a simple, opinionated static site generator written in Go. It allows you to generate a blog from Markdown written articles.

Development

  • make package runs tests, builds the default binary.
  • make deploy runs tests, builds for local env and amd64, creates and pushes docker image.

To aid development of the site, run a local webserver:

docker run -d -p 8080:80 --name local-serve --rm -v $PWD/target:/var/www/html/website tastybug/dockerized-nginx-local-serve nginx

to quickly check how the site looks like.

Testing the Dockerized Gorki

To test from within the container, run

docker run --name gorki --rm -ti -v $PWD/site:/app/site "tastybug/gorki:latest-multi" /bin/ash

Run Dockerized Gorki

docker run --name gorki --rm -v $PWD/site:/app/site "tastybug/gorki:latest-multi"

Build and Publish

# this step only on the very first run
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx build --platform=linux/amd64,linux/arm/v7 -t tastybug/gorki:latest-multi --push .

About

Simple static blog generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published