🛠 Outils de pilotage (SAV)
Pilotage Qualité
Process fin de sprint — scores, checklist, objectifs S62
Launcher — Fin de Sprint
Toutes les commandes Python + liens outils en une seule page
Générateur de Bilan Maintenance
Saisir scores, métriques, points d'action → Dashboard
Référentiel Règles Métier NEW
15 règles actives · Exemples OK/NOK · Export Handover
Générateur de Handover
Fichier .md fin de sprint en 5 min — pré-rempli S61
Dashboard Revue de Code FUSION
Qualité · Maintenance · Dette · Règles — un onglet par sprint · graphique évolution S54→S61
Flux SAV recommandé — fin de sprint
1. Analyseur Dette
→
2. Règles Métier
→
3. Générateur Maintenance
→
4. Générateur Handover
→
5. Dashboard Revue de Code
→
6. Pilotage Qualité
🐳 Commandes Docker
⚡ Rebuild API
copier
# Depuis le dossier deploy
cd "D:\...\micro_logiciel_frontend_nextjs\deploy"
docker compose build api --no-cache
docker compose up -d api
docker compose restart nginx
cd "D:\...\micro_logiciel_frontend_nextjs\deploy"
docker compose build api --no-cache
docker compose up -d api
docker compose restart nginx
copier
# Si --no-cache insuffisant
docker builder prune --force
docker compose build api --no-cache
docker compose up -d api
docker compose restart nginx
docker builder prune --force
docker compose build api --no-cache
docker compose up -d api
docker compose restart nginx
🖥 Rebuild Frontend
copier
# 1. Script OBLIGATOIRE depuis racine
cd "D:\...\micro_logiciel_frontend_nextjs"
.\COPIER_TOUTES_PAGES_v2.ps1
# Vérifier : "transferring context: ~1MB"
cd deploy
docker compose build frontend --no-cache
docker compose up -d frontend
docker compose restart nginx
cd "D:\...\micro_logiciel_frontend_nextjs"
.\COPIER_TOUTES_PAGES_v2.ps1
# Vérifier : "transferring context: ~1MB"
cd deploy
docker compose build frontend --no-cache
docker compose up -d frontend
docker compose restart nginx
🔍 Vérification
copier
docker ps
Invoke-RestMethod "http://localhost/api/bilan"
# Test route spécifique
Invoke-RestMethod "http://localhost/api/seances"
Invoke-RestMethod "http://localhost/api/bilan"
# Test route spécifique
Invoke-RestMethod "http://localhost/api/seances"
💾 Sauvegarde
copier
PowerShell -ExecutionPolicy Bypass -File "C:\AnimGest_Sav\Sauvegarde_micro_logiciel.ps1"
📦 Commandes Git
📂 Code source — micro_logiciel
copier
cd "D:\...\micro_logiciel_frontend_nextjs"
git add -A
git commit -m "feat: description SXX"
git push
git add -A
git commit -m "feat: description SXX"
git push
📚 Docs — petsuite-docs
copier
cd "C:\AnimGest_Repo_Git\petsuite-docs"
git pull --rebase
# TOUJOURS avant push
git add -A
git commit -m "doc: description SXX"
git push
git pull --rebase
# TOUJOURS avant push
git add -A
git commit -m "doc: description SXX"
git push
🐍 Scripts Python utiles
🔍 Inspection custom-routes.ts
copier
# Toujours dans Downloads
C:\Python314\python.exe "$env:USERPROFILE\Downloads\mon_script.py"
C:\Python314\python.exe "$env:USERPROFILE\Downloads\mon_script.py"
copier
# Compter les createConnection restants
python -c "f=open('api/src/custom-routes.ts');c=f.read();print(c.count('createConnection'),'occurrences')"
python -c "f=open('api/src/custom-routes.ts');c=f.read();print(c.count('createConnection'),'occurrences')"
📄 Harmonisation docs HTML
copier
# Appliquer charte sur toutes les pages
C:\Python314\python.exe "$env:USERPROFILE\Downloads\harmoniser_charte.py"
C:\Python314\python.exe "$env:USERPROFILE\Downloads\harmoniser_charte.py"
🔗 Liens rapides
📁 Chemins essentiels
Frontend racine
D:\OneDrive_Perso\OneDrive\Documents\Micro_Logiciel\Documentation\Frontend\micro_logiciel_frontend_nextjs
copier
Deploy dir
...\micro_logiciel_frontend_nextjs\deploy
copier
API source
...\api\src\custom-routes.ts
copier
Docs local
C:\AnimGest_Repo_Git\petsuite-docs
copier
Scripts Python
$env:USERPROFILE\Downloads\
copier
Backup propre
C:\AnimGest_Sav\ (nightly)
copier
BDD MariaDB
192.168.1.62:3307 — micro_logiciel — user: optimbtp
copier