-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_implementation.bat
More file actions
48 lines (44 loc) · 1.05 KB
/
test_implementation.bat
File metadata and controls
48 lines (44 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@echo off
echo ============================================================
echo Testing TopicsFlow Implementation
echo ============================================================
echo.
echo Step 1: Running database migration...
python migrate_admin_system_complete.py
if errorlevel 1 (
echo ERROR: Migration failed!
pause
exit /b 1
)
echo.
echo Step 2: Testing backend compilation...
cd backend
python -m py_compile app.py
if errorlevel 1 (
echo ERROR: Backend compilation failed!
pause
exit /b 1
)
cd ..
echo Backend compiles successfully!
echo.
echo Step 3: Testing frontend compilation...
cd frontend
call npm run build
if errorlevel 1 (
echo ERROR: Frontend build failed!
pause
exit /b 1
)
cd ..
echo Frontend compiles successfully!
echo.
echo ============================================================
echo All tests passed!
echo ============================================================
echo.
echo You can now start the application:
echo - Backend: python backend/app.py
echo - Frontend: cd frontend && npm run dev
echo.
pause