Initial commit: Family Planner application
Complete family planning application with: - React frontend with TypeScript - Node.js/Express backend with TypeScript - Python ingestion service for document processing - Planning ingestion service with LLM integration - Shared UI components and type definitions - OAuth integration for calendar synchronization - Comprehensive documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
71
RESTART_CLEAN.bat
Normal file
71
RESTART_CLEAN.bat
Normal file
@@ -0,0 +1,71 @@
|
||||
@echo off
|
||||
echo ========================================
|
||||
echo RESTART CLEAN - Family Planner
|
||||
echo Nettoyage complet et redemarrage
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
echo [1/7] Arret de tous les processus Node...
|
||||
tasklist | find "node.exe" >nul
|
||||
if %errorlevel% equ 0 (
|
||||
echo Processus Node detectes, arret en cours...
|
||||
taskkill /IM node.exe /F >nul 2>&1
|
||||
timeout /t 2 /nobreak >nul
|
||||
) else (
|
||||
echo Aucun processus Node en cours.
|
||||
)
|
||||
|
||||
echo.
|
||||
echo [2/7] Liberation des ports 5000, 5173, 5174, 8000...
|
||||
for %%p in (5000 5173 5174 8000) do (
|
||||
for /f "tokens=5" %%a in ('netstat -ano ^| findstr :%%p') do (
|
||||
taskkill /F /PID %%a >nul 2>&1
|
||||
)
|
||||
)
|
||||
timeout /t 1 /nobreak >nul
|
||||
|
||||
echo.
|
||||
echo [3/7] Nettoyage du cache Vite frontend...
|
||||
if exist "frontend\node_modules\.vite" (
|
||||
rmdir /s /q "frontend\node_modules\.vite"
|
||||
echo Cache Vite supprime.
|
||||
) else (
|
||||
echo Pas de cache Vite trouve.
|
||||
)
|
||||
|
||||
echo.
|
||||
echo [4/7] Nettoyage du dist frontend...
|
||||
if exist "frontend\dist" (
|
||||
rmdir /s /q "frontend\dist"
|
||||
echo Dossier dist supprime.
|
||||
) else (
|
||||
echo Pas de dossier dist trouve.
|
||||
)
|
||||
|
||||
echo.
|
||||
echo [5/7] Demarrage du BACKEND (port 5000)...
|
||||
start "Family Planner Backend" cmd /k "cd /d %~dp0backend && npm run dev"
|
||||
timeout /t 3 /nobreak >nul
|
||||
|
||||
echo.
|
||||
echo [6/7] Demarrage du FRONTEND (port 5173)...
|
||||
start "Family Planner Frontend" cmd /k "cd /d %~dp0frontend && npm run dev"
|
||||
timeout /t 5 /nobreak >nul
|
||||
|
||||
echo.
|
||||
echo [7/7] Verification des ports...
|
||||
netstat -ano | findstr ":5000 :5173 :5174"
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo DEMARRAGE TERMINE !
|
||||
echo ========================================
|
||||
echo.
|
||||
echo Backend : http://localhost:5000
|
||||
echo Frontend: http://localhost:5173 (ou 5174 si 5173 occupe)
|
||||
echo.
|
||||
echo IMPORTANT : Dans votre navigateur :
|
||||
echo 1. Appuyez sur Ctrl+Shift+R pour vider le cache
|
||||
echo 2. Ou F12 puis clic droit sur Refresh et "Vider le cache et actualiser"
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user