diff options
| author | Dante Catalfamo | 2020-06-17 23:33:11 -0400 | 
|---|---|---|
| committer | Dante Catalfamo | 2020-06-17 23:33:11 -0400 | 
| commit | 8d49887bbd64177daa3388a0ec1e616418a74920 (patch) | |
| tree | 17f5c8ade822ad2538597e7a8df27ab96aef6d47 /content/posts/how-this-blog-works | |
| parent | fa3e9ed8f665cbec794d03d6427911527fe91e4e (diff) | |
| download | blog-8d49887bbd64177daa3388a0ec1e616418a74920.tar.gz blog-8d49887bbd64177daa3388a0ec1e616418a74920.tar.bz2 blog-8d49887bbd64177daa3388a0ec1e616418a74920.zip | |
More edits to the blog setup post
Diffstat (limited to 'content/posts/how-this-blog-works')
| -rw-r--r-- | content/posts/how-this-blog-works/index.org | 21 | 
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. | 
