From 767f89695db30c496c20cde28be80b0d69931e2d Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sat, 4 Jul 2026 16:26:15 -0400 Subject: update --- TODO | 14 ++++++++++---- nginx/homepage.conf | 4 ++-- scripts/deploy.sh | 3 --- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/TODO b/TODO index 7ccb898..42d1a97 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,15 @@ - [x] images for projects in list - [x] new git server -- [ ] git permission and private repo -- [ ] git scripts and hooks in repo -- [ ] cgit dark mode -- [ ] put cgit config in repo + +- [x] set up gitolite and cgit for push permissions and public viewing: + https://www.omarpolo.com/post/cgit-gitolite.html + https://matejamaric.com/blog/git-server/ + https://0x42.sh/cgit-nginx-gitolite-a-personal-git-server/ +- [ ] cgit don't show .git, show about +- [ ] cgit and gitolite configurations in repo +- [ ] auto deploy website repo +- [ ] cgit dark mode, better tab layout +- [ ] backup Revamp - [x] port articles to directories diff --git a/nginx/homepage.conf b/nginx/homepage.conf index 2a44ecb..a15b154 100644 --- a/nginx/homepage.conf +++ b/nginx/homepage.conf @@ -36,8 +36,8 @@ server { fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend; fastcgi_param PATH_INFO $uri; fastcgi_param GIT_HTTP_EXPORT_ALL 1; - fastcgi_param GIT_PROJECT_ROOT /var/git; - fastcgi_param HOME /var/git; + fastcgi_param GIT_PROJECT_ROOT /var/git/repositories; + fastcgi_param HOME /var/git/repositories; fastcgi_pass unix:/run/fcgiwrap.socket; } diff --git a/scripts/deploy.sh b/scripts/deploy.sh index f3040b8..d846429 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,8 +1,5 @@ #!/bin/bash -# grab latest -git pull - # setup nginx cp ./nginx/homepage.conf /etc/nginx/sites-enabled/homepage.conf -- cgit v1.2.3