removes old blog entry
authorDaniel <thefekete@gmail.com>
Tue, 23 Jun 2020 21:24:29 +0000 (23:24 +0200)
committerDaniel <thefekete@gmail.com>
Tue, 23 Jun 2020 21:24:29 +0000 (23:24 +0200)
blog/2020-06-23_gitweb-setup.html [deleted file]

diff --git a/blog/2020-06-23_gitweb-setup.html b/blog/2020-06-23_gitweb-setup.html
deleted file mode 100644 (file)
index de2aef3..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="utf-8">
-    <title>gitweb Setup</title>
-    <!-- https://highlightjs.org/usage/ -->
-    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.1.1/build/styles/default.min.css">
-    <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.1.1/build/highlight.min.js"></script>
-    <script>hljs.initHighlightingOnLoad();</script>
-  </head>
-  <body>
-    <header>
-      <nav style="float: right">
-        <a href="https://thefekete.net">thefekete.net</a> |
-        <a href="https://thefekete.net/blog">Blog</a> |
-        <a href="https://git.thefekete.net">Git</a> |
-        <a href="https://www.youtube.com/user/thefekete">YouTube</a> |
-        <a href="https://gitlab.com/thefekete">GitLab</a> |
-        <a href="https://github.com/thefekete">GitHub</a> |
-        <a href="https://thingiverse.com/thefekete">Thingiverse</a>
-      </nav>
-      <div style="clear: both"></div>
-      <p style="float: right"><small>Tue 23 Jun 2020 02:17:56 PM UTC</small></p>
-      <div style="clear: both"></div>
-      <h1>gitweb Setup</h1>
-    </header>
-
-<p>Here&rsquo;s my notes for setting up <strong>gitweb</strong>.</p>
-
-<p>It assumes you have an <strong>nginx</strong> up and running and have configured <strong>certbot</strong> ala <a href="https://www.youtube.com/watch?v=OWAqilIVNgE">Luke Smith&rsquo;s Tutorial</a>and that you&rsquo;ve set up git on your server according to the <a href="https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server">git-scm tutorial</a>.</p>
-
-<p>Just be sure to change <code>YOUR_DOMAIN</code> and <code>YOUR_GIT_REPO_ROOT</code> to match your setup.</p>
-
-<div class="bash"><pre><code># as root on the server
-apt install gitweb fcgiwrap highlight
-cat &amp;gt;/etc/gitweb.conf &amp;lt;&amp;lt;EOF
-$projectroot = "&lt;i&gt;YOUR_GIT_REPO_ROOT&lt;/i&gt;";
-$feature{'search'}{'default'} = [0];
-$feature{'grep'}{'default'} = [0];
-$feature{'picaxe'}{'default'} = [0];
-$feature{'highlight'}{'default'} = [1];
-EOF
-</code></pre></div>
-
-<pre><code>cat &amp;gt;/etc/nginx/sites-available/gitweb &amp;lt;&amp;lt;EOF
-server {
-  server_name git.&lt;i&gt;YOUR_DOMAIN&lt;/i&gt;;
-  listen 80;
-
-  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;
-  }
-}
-EOF
-
-ln -s /etc/nginx/sites-available/gitweb /etc/nginx/sites-enabled/
-certbot --nginx  # select your gitweb server
-systemctl restart nginx
-</code></pre>
-
-<p><img src="../img/trogdor.png" alt="Trogdor!" /></p>
-  </body>
-</html>