summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/posts/how-this-blog-works/index.org21
1 files changed, 19 insertions, 2 deletions
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.