aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2023-09-15-self-hosting-gitweb.md
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-04-29 14:18:55 -0500
committerChristian Cleberg <hello@cleberg.net>2024-04-29 14:18:55 -0500
commitfdd80eadcc2f147d0198d94b7b908764778184a2 (patch)
treefbec9522ea9aa13e8105efc413d2498c3c5b4cd6 /content/blog/2023-09-15-self-hosting-gitweb.md
parentd6c80fdc1dea9ff242a4d3c7d3939d2727a8da56 (diff)
downloadcleberg.net-fdd80eadcc2f147d0198d94b7b908764778184a2.tar.gz
cleberg.net-fdd80eadcc2f147d0198d94b7b908764778184a2.tar.bz2
cleberg.net-fdd80eadcc2f147d0198d94b7b908764778184a2.zip
format line wrapping and fix escaped characters
Diffstat (limited to 'content/blog/2023-09-15-self-hosting-gitweb.md')
-rw-r--r--content/blog/2023-09-15-self-hosting-gitweb.md25
1 files changed, 11 insertions, 14 deletions
diff --git a/content/blog/2023-09-15-self-hosting-gitweb.md b/content/blog/2023-09-15-self-hosting-gitweb.md
index 5dca508..fdc4af3 100644
--- a/content/blog/2023-09-15-self-hosting-gitweb.md
+++ b/content/blog/2023-09-15-self-hosting-gitweb.md
@@ -7,14 +7,12 @@ draft = false
# Overview
-[GitWeb](https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb) is a
-simple web-based visualizer for git repositories. By default, GitWeb
-will only run with the `lighttpd` or `webrick` web
-servers.
+[GitWeb](https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb) is a simple
+web-based visualizer for git repositories. By default, GitWeb will only run with
+the `lighttpd` or `webrick` web servers.
-However, this guide will show you how to keep GitWeb running in the
-background and display information for all repositories in a chosen
-directory.
+However, this guide will show you how to keep GitWeb running in the background
+and display information for all repositories in a chosen directory.
See below for the final result:
@@ -22,7 +20,7 @@ See below for the final result:
# Install Dependencies
-To start, you\'ll need install the following packages:
+To start, you'll need install the following packages:
```sh
sudo apt install git gitweb fcgiwrap nginx
@@ -57,21 +55,20 @@ server {
}
```
-To make the configuration active, you need to symlink it and then
-restart Nginx.
+To make the configuration active, you need to symlink it and then restart Nginx.
```sh
sudo ln -s /etc/nginx/sites-available/git.example.com /etc/nginx/sites-enabled/git.example.com
sudo systemctl restart nginx.service
```
-The GitWeb application should now be available via the URL you set in
-the Nginx configuration above.
+The GitWeb application should now be available via the URL you set in the Nginx
+configuration above.
# Customize GitWeb
-If you need to, you can customize many things about Gitweb by editing
-the [gitweb.conf](https://git-scm.com/docs/gitweb.conf) file.
+If you need to, you can customize many things about Gitweb by editing the
+[gitweb.conf](https://git-scm.com/docs/gitweb.conf) file.
```sh
sudo nano /etc/gitweb.conf