-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathlaunch.bat
More file actions
33 lines (30 loc) · 744 Bytes
/
Copy pathlaunch.bat
File metadata and controls
33 lines (30 loc) · 744 Bytes
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
@echo off
echo ===================================================
echo NOA DeepThink Launcher
echo ===================================================
echo.
echo [1/3] Installing/Updating dependencies...
pip install -r requirements.txt
if %errorlevel% neq 0 (
echo.
echo [ERROR] Failed to install dependencies.
pause
exit /b %errorlevel%
)
echo.
echo [2/3] Committing and pushing changes to Git...
git add .
git commit -m "Auto-commit before launch"
git push
if %errorlevel% neq 0 (
echo.
echo [WARNING] Git push failed. Proceeding with launch anyway...
) else (
echo [SUCCESS] Git changes pushed.
)
echo.
echo [3/3] Launching NOA App...
echo Access the app at: http://localhost:8000
echo.
python app.py
pause