From 98b411c21c496ac85ba03d8d849f9b6ca1301c3c Mon Sep 17 00:00:00 2001 From: kisakay Date: Sun, 18 Oct 2026 18:58:00 +0200 Subject: [PATCH] =?UTF-8?q?Docs:=20strat=C3=A9gie=20100%=20raw=20git=20pub?= =?UTF-8?q?lic=20(plus=20d'h=C3=A9bergeur=20mcpv=20pour=20les=20fichiers)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- atlas/SURVIEPOTE.md | 17 ++++++++++------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d0920ec..cbd14b3 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,9 @@ mc/ ``` - Jeu : MC 26.3 + Fabric Loader 0.20.0, adresse `mcpv.ihorizon.org:25565` -- Modpack source : `~/.local/share/PrismLauncher/instances/26.3/` (44 mods → 31 serveur, 15 client-only exclus) -- Launcher : `SurviePote`, distro URL `https://mcpv.ihorizon.org/distribution.json` +- Modpack source : `~/.local/share/PrismLauncher/instances/26.3/` (46 mods → 30 serveur, tri documenté) +- Launcher : `SurviePote`, distro + tous les fichiers servis en **raw git public** + (`https://git.kisakay.com/k/mc/raw/branch/main/atlas/root/`, pas d'hébergeur séparé) - Git : `origin git@192.168.1.192:k/mc.git` (SSH via VPN, seul transport push/pull fonctionnel ; le SSH direct vers `git.kisakay.com` passe par Cloudflare et se fige). Façade publique (web + raw) : `https://git.kisakay.com/k/mc` diff --git a/atlas/SURVIEPOTE.md b/atlas/SURVIEPOTE.md index fee6a5d..1737006 100644 --- a/atlas/SURVIEPOTE.md +++ b/atlas/SURVIEPOTE.md @@ -42,7 +42,10 @@ HELIOS_DATA_FOLDER= ``` - `BASE_URL` **doit** finir par `/` : c'est le préfixe des URLs dans `distribution.json`. - En dev, passer à `http://localhost:8080/` puis régénérer (`g distro`). + Prod : `https://git.kisakay.com/k/mc/raw/branch/main/atlas/root/` — tous les artefacts + (mods, files, repo Fabric) sont versionnés sur git et servis en raw public, aucun hébergeur + de fichiers séparé nécessaire. Voir `.env.example`. + En dev, passer à `http://localhost:8931/` puis régénérer (`g distro`). - Écart volontaire : la consigne disait `/usr/bin/java`, inexistant sur NixOS ; on pointe vers le binaire réel (`readlink -f $(which java)`). - `HELIOS_DATA_FOLDER` vide = pas de `--installLocal` (pas de dossier Helios local). @@ -84,13 +87,13 @@ Ne **jamais** utiliser `--installLocal` ici (pas de Helios local). ## 5. Servir via HTTP -Le web root = `atlas/root/` (les URLs sont relatives à `BASE_URL`). +Plus besoin d'hébergeur : tout est servi en raw git public +(`BASE_URL=https://git.kisakay.com/k/mc/raw/branch/main/atlas/root/`). +`distribution.json` : `https://git.kisakay.com/k/mc/raw/branch/main/atlas/root/distribution.json` +(valide : parsé avec `helios-core`, 34 modules, vérifié le 18/10/2026). -- Dev : `cd atlas/root && python3 -m http.server 8080` - (+ `.env` → `BASE_URL=http://localhost:8080/`, régénérer). -- Prod (TNDev) : servir `atlas/root/` depuis la racine `https://mcpv.ihorizon.org/` - (nginx `root` ou copie du contenu), de sorte que - `https://mcpv.ihorizon.org/distribution.json` réponde. +- Dev local : `cd atlas/root && python3 -m http.server 8931` + (+ `.env` → `BASE_URL=http://localhost:8931/`, régénérer, ne pas committer). ## 6. TODO restants