commit f8549679436715941dd313edb0e83b80f23478ce
parent aae53642cf512ee70b78634cca828869cc170bef
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sun, 19 Sep 2021 21:44:14 +0200
Add README
Diffstat:
2 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,24 @@
+# Stagit - src.jayvii.de
+
+Some scripts and assets to run https://src.jayvii.de
+
+```
+/
+|- bin/
+| |- git_create_repo.sh Creates A bare repository and HTML viewer
+| |- git_post_push.sh Used as post-push hook in repositories
+| |- git_set_clone_url.sh Sets necessary URL to clone via http(s)
+| |- git_update_index_html.sh Updates the repository overview HTML page
+| |- git_update_repo_html.sh Updates the respository HTML viewer pages
+| '- git_update_repo.sh Updates git information to clone via http(s)
+|
+|- assets/
+| |- favicon.png Favicon and Logo of the page
+| |- index.css CSS for the index pages (e.g. the *.git pages)
+| '- style.css CSS for the HTML viewer
+|
+|- 404.html 404 Page
+'- index.html Index-Page for the Main site, redirects to /pub/
+```
+
+There are additional links for CSS and icon files.
diff --git a/bin/git_watcher.sh b/bin/git_watcher.sh
@@ -1,7 +0,0 @@
-#!/usr/bin/env sh
-
-while true; do
- inotifywait -e modify,create,delete -r "${1}" && \
-<some command to execute when a file event is recorded>
-
-done