aboutsummaryrefslogtreecommitdiff
path: root/content/docs/adyxax.org/git.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-23 17:01:38 +0100
committerJulien Dessaux2021-03-23 17:01:38 +0100
commit45243279184b635fe1712810f3bda60c95720b56 (patch)
tree63075dd5c45226f1af66c93f480b76aff1515081 /content/docs/adyxax.org/git.md
parentRemoved useless book tag since they are all in the same section (diff)
downloadwww-45243279184b635fe1712810f3bda60c95720b56.tar.gz
www-45243279184b635fe1712810f3bda60c95720b56.tar.bz2
www-45243279184b635fe1712810f3bda60c95720b56.zip
Reworked the adyxax.org docs articles
Diffstat (limited to '')
-rw-r--r--content/docs/adyxax.org/git.md (renamed from content/docs/adyxax.org/services/git.md)14
1 files changed, 8 insertions, 6 deletions
diff --git a/content/docs/adyxax.org/services/git.md b/content/docs/adyxax.org/git.md
index a7a9374..5b90588 100644
--- a/content/docs/adyxax.org/services/git.md
+++ b/content/docs/adyxax.org/git.md
@@ -1,20 +1,21 @@
---
title: "git"
-weight: 1
-description: >
- adyxax.org git server
+description: adyxax.org git server
---
-git.adyxax.org is a gitea instance. For about 10 years I used a gitolite installation but I finally went for a gui instead in order to host repositories for non tech people.
+## Introduction
+
+git.adyxax.org is a [gitea](https://gitea.io/) instance. For about 10 years I used a gitolite installation but I finally went for a gui instead in order to host repositories for non tech people.
## Preparing the postgresql database
-I am currently hosting this gitea instance on an OpenBSD server. Obviously postgresql is packaged on this system so the installation is as simple as :
+I am currently hosting this instance on an OpenBSD server. Obviously postgresql is packaged on this system so the installation is as simple as :
{{< highlight sh >}}
pkg_add postgresql-server
su - __postgresql
mkdir /var/postgresql/data
initdb -D /var/postgresql/data -U postgres -A scram-sha-256 -E UTF8 -W
+exit
rcctl enable postgresql
rcctl start postgresql
su - ___postgresql
@@ -35,8 +36,9 @@ rcctl enable gitea
rcctl start gitea
{{< /highlight >}}
-## TODO Serving the website
+## Serving the website
+TODO
{{< highlight sh >}}
nvim /etc/h2o/h2o.conf
{{< /highlight >}}