aboutsummaryrefslogtreecommitdiff
path: root/content/docs/adyxax.org/www.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-11-12 18:28:10 +0100
committerJulien Dessaux2021-11-12 18:28:10 +0100
commitf89f5d57361e2160ad78e07857fd6e1b9c3b4309 (patch)
treeba7cc48efb48781a6ba30e14a05a8b1dc889dc55 /content/docs/adyxax.org/www.md
parentMove git docs to a dedicated section (diff)
downloadwww-f89f5d57361e2160ad78e07857fd6e1b9c3b4309.tar.gz
www-f89f5d57361e2160ad78e07857fd6e1b9c3b4309.tar.bz2
www-f89f5d57361e2160ad78e07857fd6e1b9c3b4309.zip
Migrated gitea to dalinar and updated other pages to reflect that. Updated www's docs that were abandonned.
Diffstat (limited to '')
-rw-r--r--content/docs/adyxax.org/www.md54
1 files changed, 0 insertions, 54 deletions
diff --git a/content/docs/adyxax.org/www.md b/content/docs/adyxax.org/www.md
deleted file mode 100644
index cf21b14..0000000
--- a/content/docs/adyxax.org/www.md
+++ /dev/null
@@ -1,54 +0,0 @@
----
-title: "www"
-description: adyxax.org main website. www.adyxax.org, wiki.adyxax.org and blog.adyxax.org all point here.
-tags:
-- hugo
-- OpenBSD
----
-
-## Introduction
-
-This is the website you are currently reading. It is a static website built using [hugo](https://github.com/gohugoio/hugo). This article details how I installed hugo, how I initialised this website and how I manage it. I often refer to it as wiki.adyxax.org because this site replaces a dokuwiki I used for a long time as my main website (and a pmwiki before that), but with [hugo]({{< ref "hugo" >}}) it has become more than that. It is now a mix of wiki, blog and showcase of my work and interests.
-
-For a log of how I made the initial setup, see [this blog article.]({{< ref "switching-to-hugo" >}}). Things are now simpler since I [wrote my own theme]({{< ref "ditching-the-heavy-hugo-theme" >}}).
-
-## Installing hugo
-
-I am currently hosting this website on an OpenBSD server. Hugo is packaged on this system so the installation is as simple as :
-{{< highlight sh >}}
-pkg_add hugo--extended
-{{< / highlight >}}
-
-## Bootstraping this site
-
-The website is on my [gitea instance]({{< ref "git.md" >}}), and leaves under the standard `/var/www/htdocs` path:
-{{< highlight sh >}}
-cd /var/www/htdocs
-git clone _gitea@git.adyxax.org:adyxax/www.git
-cd www
-{{< / highlight >}}
-
-To publish the website in the `public` folder I use a custom makefile so that I do not have to remind myself of hugo flags :
-{{< highlight sh >}}
-make build
-{{< / highlight >}}
-
-## Automated deployment
-
-The deployment is automated with a simple `post-receive` git hook in the gitea repository :
-{{< highlight sh >}}
-#!/usr/bin/env bash
-set -eu
-unset GIT_DIR
-
-cd /var/www/htdocs/www/
-git remote update
-git reset --hard origin/master
-make build
-
-echo 'website updated'
-{{< /highlight >}}
-
-## Web server config
-
-TODO