From 023c75170a1e7369f8caa2d5332dc952cfa13712 Mon Sep 17 00:00:00 2001 From: Markus Heurung Date: Thu, 2 May 2024 23:07:19 +0200 Subject: [PATCH] add new post about the mess this site currently is --- ...024-05-02-how-i-currently-run-this-site.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 _posts/2024-05-02-how-i-currently-run-this-site.md diff --git a/_posts/2024-05-02-how-i-currently-run-this-site.md b/_posts/2024-05-02-how-i-currently-run-this-site.md new file mode 100644 index 0000000..bcfc577 --- /dev/null +++ b/_posts/2024-05-02-how-i-currently-run-this-site.md @@ -0,0 +1,25 @@ +--- +layout: default +title: how I currently run this site +date: 2024-05-02 22:55 +0200 +tags: + - weblogpomo2024 +--- + +The easiest way for me to better understand things, is to explain them. The way to explain things here is to write them down. + +So I want to write down how I run this blog and how I post, to make next identify what I'm want to improve and what is missing. + +This HTML (with some CSS and one image right now) get's served from an OpenBSD mini VM located at Hetzner. It uses the included relayd and httpd to deliver the statically generated files. +The files get pushed to a folder on this server using rsync over ssh. +Before that they get generated by Jekyll, my static site generator of choice (<3 Ruby!). This is happening on my main workstation that also serves as a home server and always running. This means I can add and create new posts or notes by SSH'ing into that machine and typing things into my terminal window. + +A new note gets created by typing `rake note` which opens neovim and I can type away and thing a bit. If I'm extra easy going I can directly add the note text by using `rake note[$NOTETEXT]`. +Blog posts are set up using `jekyll compose -l default "$TITLE"` which generates a file I can open and edit like before. + +A `rake deploy` builds the site and does the rsync magic to deliver the build to the web server. + +You can see the [jekyll "code" in my forge](https://code.muhh.lol/muhh/muhh.lol). + +It's a mess. I love it :) +