From 580557779ddc85e9f9b882b045da1ded0c2200cc Mon Sep 17 00:00:00 2001 From: Pagwin Date: Wed, 30 Aug 2023 20:16:47 -0400 Subject: [PATCH] blog v2 outline done --- content/blog/blog_v2.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 content/blog/blog_v2.md diff --git a/content/blog/blog_v2.md b/content/blog/blog_v2.md new file mode 100644 index 0000000..cae377a --- /dev/null +++ b/content/blog/blog_v2.md @@ -0,0 +1,33 @@ +--- + +title: "Who needs a CMS anyways? (and also redeploying to docker)" + +description: "" + +date: 2023-09-08 + +draft: true + +--- + +# What's up? + +We're adding comments to this blog and setting it up to deploy via docker. + +## Why? + +Because I wanted to add comments. The way I'm planning on doing that will mean that this blog will be more complex. Specifically in addition to generating static files and having nginx serve them I'll need to have a separate service. That separate service (and the database it depends on) will be contained within a docker container for convenience. But with parts of the site being deployed via docker I might as well deploy all of them via docker. + +### Sounds like you've written a CMS so why is the static file hosting not a part of that? + +Because I'm not writing a CMS, I'm just writing the backend for comments and sticking some htmx stuff into the hugo template for a blog for the frontend. + +## [Writing the Go backend] + +## [Writing the Hugo templating frontend] + +## [Setting up the docker Containers] + +## [Changing github actions and deployment pipeline to rebuild the docker container] + +## [Conclusion]