aboutsummaryrefslogtreecommitdiff
path: root/blog/2023-09-15-gitweb.org
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-01-08 20:11:17 -0600
committerChristian Cleberg <hello@cleberg.net>2024-01-08 20:11:17 -0600
commit25945b8fead989cca09a23983623b63ce36dcc0c (patch)
tree0dfc869ce8b028e04ce9da196af08779780915ce /blog/2023-09-15-gitweb.org
parent22b526be60bf4257c2a1d58a5fad59cf6b044375 (diff)
downloadcleberg.net-25945b8fead989cca09a23983623b63ce36dcc0c.tar.gz
cleberg.net-25945b8fead989cca09a23983623b63ce36dcc0c.tar.bz2
cleberg.net-25945b8fead989cca09a23983623b63ce36dcc0c.zip
feat: total re-write from Emacs org-mode to Zola markdown
Diffstat (limited to 'blog/2023-09-15-gitweb.org')
-rw-r--r--blog/2023-09-15-gitweb.org82
1 files changed, 0 insertions, 82 deletions
diff --git a/blog/2023-09-15-gitweb.org b/blog/2023-09-15-gitweb.org
deleted file mode 100644
index 22c4c27..0000000
--- a/blog/2023-09-15-gitweb.org
+++ /dev/null
@@ -1,82 +0,0 @@
-#+title: GitWeb via Nginx
-#+date: 2023-09-16
-
-** Overview
-:PROPERTIES:
-:CUSTOM_ID: overview
-:END:
-[[https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb][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.
-
-See below for the final result:
-
-#+caption: Gitweb
-[[https://img.cleberg.net/blog/20230915-gitweb/gitweb.png]]
-
-** Install Dependencies
-:PROPERTIES:
-:CUSTOM_ID: install-dependencies
-:END:
-To start, you'll need install the following packages:
-
-#+begin_src sh
-sudo apt install git gitweb fcgiwrap nginx
-#+end_src
-
-** Configure Nginx
-:PROPERTIES:
-:CUSTOM_ID: configure-nginx
-:END:
-Once installed, create an Nginx configuration file.
-
-#+begin_src sh
-sudo nano /etc/nginx/sites-available/git.example.com
-#+end_src
-
-#+begin_src conf
-server {
- listen 80;
- server_name example.com;
-
- location /index.cgi {
- root /usr/share/gitweb/;
- include fastcgi_params;
- gzip off;
- fastcgi_param SCRIPT_NAME $uri;
- fastcgi_param GITWEB_CONFIG /etc/gitweb.conf;
- fastcgi_pass unix:/var/run/fcgiwrap.socket;
- }
-
- location / {
- root /usr/share/gitweb/;
- index index.cgi;
- }
-}
-#+end_src
-
-To make the configuration active, you need to symlink it and then
-restart Nginx.
-
-#+begin_src sh
-sudo ln -s /etc/nginx/sites-available/git.example.com /etc/nginx/sites-enabled/git.example.com
-sudo systemctl restart nginx.service
-#+end_src
-
-The GitWeb application should now be available via the URL you set in
-the Nginx configuration above.
-
-** Customize GitWeb
-:PROPERTIES:
-:CUSTOM_ID: customize-gitweb
-:END:
-If you need to, you can customize many things about Gitweb by editing
-the [[https://git-scm.com/docs/gitweb.conf][gitweb.conf]] file.
-
-#+begin_src sh
-sudo nano /etc/gitweb.conf
-#+end_src