Phase 3.1: Enhanced Chore Logging and Reporting System

This commit is contained in:
2026-02-05 12:33:51 +11:00
commit e3cae7bfbb
178 changed files with 30105 additions and 0 deletions

31
restart_backend.bat Normal file
View File

@@ -0,0 +1,31 @@
@echo off
echo ========================================
echo Family Hub - CORS Fix and Restart
echo ========================================
echo.
cd /d D:\Hosted\familyhub\backend
call venv\Scripts\activate
echo Step 1: Checking CORS Configuration...
echo.
python check_cors.py
echo.
echo Step 2: Stopping any running backend...
echo Trying to stop processes on port 8001...
for /f "tokens=5" %%a in ('netstat -ano ^| find ":8001" ^| find "LISTENING"') do (
echo Killing process %%a
taskkill /F /PID %%a 2>nul
)
timeout /t 2 >nul
echo.
echo Step 3: Starting backend with fresh configuration...
echo Backend will run on: http://localhost:8001
echo CORS will allow: http://localhost:5173
echo.
echo Press Ctrl+C to stop the server
echo.
python -m uvicorn app.main:app --host 0.0.0.0 --port 8001 --reload