diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-07-05 15:22:39 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-07-05 15:22:39 -0400 |
| commit | be6623dc9f05a1db0f63a574235d10652b7e69f7 (patch) | |
| tree | 8794155b2faa4534617fb1195052edcbfcdded33 | |
| parent | 1749d63cf5cac08b325787939e751d9611193cc1 (diff) | |
start redoing configuration
| -rw-r--r-- | TODO | 10 | ||||
| -rw-r--r-- | configuration/homepage.conf (renamed from nginx/homepage.conf) | 0 | ||||
| -rwxr-xr-x | scripts/deploy.sh | 11 |
3 files changed, 12 insertions, 9 deletions
@@ -5,10 +5,12 @@ 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 +- [x] cgit don't show .git +- [ ] cgit and gitoliterc config in repo +- [ ] get rid of gitolite admin repo +- [ ] cgit dark mode, better tab layout, about page + https://mitjafelicijan.com/making-cgit-look-nicer.html + https://www.hackitu.de/cgithub/ - [ ] backup Revamp diff --git a/nginx/homepage.conf b/configuration/homepage.conf index 1095107..1095107 100644 --- a/nginx/homepage.conf +++ b/configuration/homepage.conf diff --git a/scripts/deploy.sh b/scripts/deploy.sh index d846429..210984d 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,12 +1,13 @@ #!/bin/bash +set -e -# setup nginx -cp ./nginx/homepage.conf /etc/nginx/sites-enabled/homepage.conf +# symlink configs +ln -sf $(realpath ./configuration/homepage.conf) /etc/nginx/sites-enabled/homepage.conf -# build and sync zola +# build and sync zola static site (cd zola-static && zola build) -mkdir /var/www/homepage/ +mkdir -p /var/www/homepage/ rsync -av --delete ./zola-static/public/ /var/www/homepage/ -# sync interactive +# sync interactive site rsync -av --delete ./interactive/ /var/www/interactive/ |
