aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-01-03 13:02:13 +0100
committerTim <contact@bytim.eu>2025-01-03 13:02:13 +0100
commitad66e2f3a9bb2c4d2a7566151d75986d459c4e5b (patch)
tree28220d8317648b7b9fdc4cfd01647c844c5a2326 /README.md
parenta694f3e1952fa2d4515751397deaf6512cfd4632 (diff)
downloadGitAutoFetch-ad66e2f3a9bb2c4d2a7566151d75986d459c4e5b.tar.xz
GitAutoFetch-ad66e2f3a9bb2c4d2a7566151d75986d459c4e5b.zip
Add README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2e098b0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+# GitAutoFetch
+
+Fetch your git repos and clear your cgit cache every hour.
+
+## Usage
+
+Create a .env File with the following environment variables:
+
+| name | description | default |
+|----------------------|----------------------------------------------------------------------|----------|
+| GIT_DIRECTORY | The path to the directory where your git repositories are. | ./repos/ |
+| CGIT_CACHE_DIRECTORY | The CGit cache directory, leave blank to disable clearing the cache. | |
+
+Now run the Program from the same directory. Alternatively you can provide the environment variables to the process.
+The ``gitautofetch.service`` file could be a good template for a systemd service that runs GitAutoFetch in the background.