From f09187f74988d8451ee8348c1aef6a394c2ac998 Mon Sep 17 00:00:00 2001 From: allan Date: Sat, 29 Nov 2025 15:32:53 +0100 Subject: [PATCH] minor readability changes --- README.md | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0b6cbb1..7e0ec68 100644 --- a/README.md +++ b/README.md @@ -117,17 +117,35 @@ That step: --- -## File Layout +## File Layout (auto-increment per instance) + +When first installed, paths look like this: + +**Instance 1** | Path | Purpose | |---|---| -| `/etc/giteaX/app.ini` | Main config file | -| `/etc/giteaX/gitea-postinstall` | Postinstall script for finalizing instance | -| `/var/lib/giteaX/` | Data, repos, indexers, logs | -| `/var/lib/giteaX/custom/templates/` | Custom UI override templates | -| `/var/lib/giteaX/custom/public/assets/img/` | Logos + branding | -| `/var/lib/giteaX/custom/public/` | robots.txt + sitemap.xml (optional, if created) | -| `/usr/local/bin/gitea` | Shared Gitea binary | +| `/etc/gitea1/app.ini` | Main config file | +| `/etc/gitea1/gitea-postinstall` | Postinstall script | +| `/var/lib/gitea1/` | Data, repos, indexers, logs | +| `/var/lib/gitea1/custom/templates/` | UI overrides | +| `/var/lib/gitea1/custom/public/assets/img/` | Logos + branding | +| `/var/lib/gitea1/custom/public/` | robots + sitemap *(optional)* | +| `/usr/local/bin/gitea` | Shared binary | + +**Instance 2 (identical structure, next number auto-assigned)** + +| Path | Purpose | +|---|---| +| `/etc/gitea2/app.ini` | Main config file | +| `/etc/gitea2/gitea-postinstall` | Postinstall script | +| `/var/lib/gitea2/` | Data, repos, indexers, logs | +| `/var/lib/gitea2/custom/templates/` | UI overrides | +| `/var/lib/gitea2/custom/public/assets/img/` | Logos + branding | +| `/var/lib/gitea2/custom/public/` | robots + sitemap *(optional)* | +| `/usr/local/bin/gitea` | Shared binary | + +> Every new install increments automatically (`gitea3`, `gitea4`, `gitea5`…) > Important (but optional): > `robots.txt` and `sitemap.xml` are supported automatically by the Nginx configuration being created,