From 635e9db19e4e7bae9a767a411b38a7f462ae7de2 Mon Sep 17 00:00:00 2001 From: 4HMZ4 <20662000+4HMZ4@users.noreply.github.com> Date: Thu, 2 Dec 2021 00:43:59 +0000 Subject: [PATCH] moved readme --- .github/README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/README.md diff --git a/.github/README.md b/.github/README.md new file mode 100644 index 0000000..c945717 --- /dev/null +++ b/.github/README.md @@ -0,0 +1,39 @@ +# blog-hugo +I am hoping to migrate my dynamic blog currently hosted using GHOST CMS +to a static site using HUGO. + +## Pros of static sites +* Security +* Reliability +* Speed +* Scalability +* Low Resource requirement + +## Why +The reasons above all fit well with my current goal of trying to containerise +all of the services running on my home lab. Currently I have 2 servers running +Proxmox VE with a combined 48 threads and 256GB of RAM which as you can imagine +take a lot of power. + +The plan is to slowly move the majority of my services to a cluster of +4 RaspberryPis. If all the services required support the ARM CPU architecture +then I can completely decommission the power hungry servers. + +## How +I am still coming up with the deployment method of this site but from what I +have seen the Github CI/CD pipeline makes a lot of sense as the site will be +hosted on Github anyway. +* Update Github with new code +* Github generates a docker image +* Kubernetes cluster uses that image to host the site + + +## When Pulling / Cloning +``` bash +git clone --recurse-submodules https://github.com/4hmz4/blog +``` + +## Update the theme +``` bash +git submodule update --remote --merge +```