From 8d49887bbd64177daa3388a0ec1e616418a74920 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Wed, 17 Jun 2020 23:33:11 -0400 Subject: More edits to the blog setup post --- content/posts/how-this-blog-works/index.org | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'content/posts/how-this-blog-works/index.org') diff --git a/content/posts/how-this-blog-works/index.org b/content/posts/how-this-blog-works/index.org index 0f97fd6..5b83c9c 100644 --- a/content/posts/how-this-blog-works/index.org +++ b/content/posts/how-this-blog-works/index.org @@ -65,14 +65,18 @@ through how I run by blog. pkg_add git #+END_SRC + On the client you'll need both =git= and =rsync=. Both might already + be installed depending on the system you're on. If not, check your + package manager for details on how to install them. + * Version Control I wanted to try to keep things as simple as possible for this. The "origin" for the blog is simply a bare git repository in the =blog= - user's home directory. This blog user was also made the owner of the - blog document root directory. + user's home directory. ** Setting up the blog user + First I set up the blog user #+BEGIN_SRC shell useradd -m blog @@ -105,3 +109,16 @@ through how I run by blog. # on my local machine git clone blog@lambda.cx:blog.git #+END_SRC + + I can now work on the blog as I would any other git repository, + pulling with =git pull= and pushing with =git push=. + +* Web server + + Since this blog is going to be hosted on OpenBSD, we don't need to + install a web server, as it already comes with one built in. + +* Deployment + + The system used to deploy this blog is incredibly simple, involving + only =rsync=, =hugo=, and a small shell script. -- cgit v1.2.3