diff --git a/README.md b/README.md index 245267e..3fde6ab 100644 --- a/README.md +++ b/README.md @@ -58,17 +58,19 @@ identité transmise via le header `Ynh-User` (`proxy_params_with_auth`). Le package consomme une **archive de tag** publiée sur la forge : -1. Pousser le dépôt sur `https://labola.o-k-i.net/cyber-mawonaj/veille-ia` (procédure : `doc2sveltekit-transition/GITEA.md` — dépôt créé **sans** initialisation). +1. Pousser le dépôt sur `https://labola.o-k-i.net/cyber-mawonaj/veille-ia-gen` (procédure : `doc2sveltekit-transition/GITEA.md` — dépôt créé **sans** initialisation). 2. Taguer : `git tag v0.1.0 && git push gitea v0.1.0`. -3. Télécharger `https://labola.o-k-i.net/cyber-mawonaj/veille-ia/archive/v0.1.0.tar.gz` et calculer son sha256. +3. Télécharger `https://labola.o-k-i.net/cyber-mawonaj/veille-ia-gen/archive/v0.1.0.tar.gz` et calculer son sha256. 4. Mettre à jour `veille-ia_ynh/manifest.toml` : `version = "0.1.0~ynh1"`, `resources.sources.main.url` et `sha256` (le placeholder `TODO_…` actuel bloque volontairement toute installation). 5. Vérifier avec `package_check` (sur une machine YunoHost de test) : viser niveau ≥ 7. ### Installation (sur le serveur) ```bash -yunohost app install /chemin/vers/veille-ia_ynh -# ou une fois publié : yunohost app install https://labola.o-k-i.net/cyber-mawonaj/veille-ia_ynh +git clone https://labola.o-k-i.net/cyber-mawonaj/veille-ia-gen.git +yunohost app install ./veille-ia-gen/veille-ia_ynh +# (le package vit dans le sous-dossier veille-ia_ynh/ du dépôt ; `yunohost app install ` +# exigerait un dépôt dédié contenant le package à sa racine) ``` L'install : déploie l'archive, `npm ci` + build (avec `BASE_PATH` = chemin d'install), génère `ALERTS_TOKEN`, écrit `/var/www/veille-ia/app/.env` (chmod 400), configure nginx + systemd (logs journald). diff --git a/veille-ia_ynh/manifest.toml b/veille-ia_ynh/manifest.toml index 12c024d..b86ee46 100644 --- a/veille-ia_ynh/manifest.toml +++ b/veille-ia_ynh/manifest.toml @@ -13,7 +13,7 @@ maintainers = ["cyber-mawonaj"] [upstream] license = "AGPL-3.0-or-later" -code = "https://labola.o-k-i.net/cyber-mawonaj/veille-ia" +code = "https://labola.o-k-i.net/cyber-mawonaj/veille-ia-gen" [integration] yunohost = ">= 12.1" @@ -50,7 +50,7 @@ ram.runtime = "150M" # Archive de l'app, publiée par tag sur la forge (procédure de release : README racine). # ⚠️ sha256 à recalculer après chaque tag : sha256sum vX.Y.Z.tar.gz [resources.sources.main] - url = "https://labola.o-k-i.net/cyber-mawonaj/veille-ia/archive/v0.1.0.tar.gz" + url = "https://labola.o-k-i.net/cyber-mawonaj/veille-ia-gen/archive/v0.1.0.tar.gz" sha256 = "TODO_SHA256_A_CALCULER_APRES_LE_TAG_v0.1.0" autoupdate.strategy = "latest_forgejo_tag"