diff --git a/CLAUDE.md b/CLAUDE.md index 746a794..e6b35c8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -26,4 +26,13 @@ En prod, le Pi Zero rejoindra le hotspot WireClaw (10.42.0.0/24) créé par le J - Pi Zero : 192.168.1.132 / 10.42.0.XX (caméra) ## Repo -git.syoul.fr/nicoboy/pi-test-cam \ No newline at end of file +git.syoul.fr/nicoboy/pi-test-cam + +## Workflow de déploiement +Après chaque modification de code, toujours : +1. Committer et pusher sur Gitea : `git add . && git commit -m "..." && git push origin master` +2. Déployer sur le Pi Zero : + ```bash + ssh pi@192.168.1.132 "cd pi-test-cam && git pull && pkill -f camera_server; python3 camera_server.py &" + ``` +3. Vérifier le flux : http://192.168.1.132:5000/stream \ No newline at end of file