diff --git a/CLAUDE.md b/CLAUDE.md index 584239b..d14fafe 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ PWA de suivi de films, séries, animes, K-dramas et C-dramas. Interface en fran - **Vite + React 19 + TypeScript**, **Tailwind CSS v4**, PWA (vite-plugin-pwa, service worker auto-update). - **Supabase** (Postgres + Auth + Storage + Edge Functions) pour les comptes et le social. - Local-first : IndexedDB par utilisateur + outbox + synchro last-write-wins. -- Dossier local : `C:\Users\romai\Documents\FICHIER\PROJET\AzuuCine`. +- Dossier local : `C:\Users\romai\Documents\FICHIER\PROJET\Kino`. ## Lancer / vérifier ```bash @@ -18,7 +18,8 @@ npm run build # build de prod ``` ## Déploiement -- Remote git : **Gitea** `https://gitea.rdacet.fr/romain/azuucine.git` (branche `main`). +- Remote git : **Gitea** `https://gitea.rdacet.fr/romain/kino.git` (branche `main`). +- GitHub (miroir de travail Claude) : `https://github.com/rxOmdct/Kino`. - Push via **PowerShell** : `git push` (GitHub Desktop n'authentifie pas Gitea). - **Gitea Actions** (`.gitea/workflows/deploy.yml`) build et publie sur le **VPS** (nginx en LXC) à chaque push sur `main`. Site : https://azuucine.rdacet.fr - `vite.config.ts` contient un garde-fou : le build échoue si `VITE_SUPABASE_URL` / `VITE_SUPABASE_ANON_KEY` manquent en CI (variables/secrets Gitea Actions). La CSP et les en-têtes de sécurité y sont aussi définis (source unique → convertis en conf nginx par `deploy/headers-to-nginx.mjs`). diff --git a/deploy/BACKUP.md b/deploy/BACKUP.md index ebc8845..8c4b5d1 100644 --- a/deploy/BACKUP.md +++ b/deploy/BACKUP.md @@ -46,7 +46,7 @@ openssl rand -base64 32 ### 3. Secrets Gitea -Dépôt `romain/azuucine` → **Paramètres → Actions → Secrets** : +Dépôt `romain/kino` → **Paramètres → Actions → Secrets** : | Nom | Valeur | | --- | --- |