-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstart.bat
More file actions
36 lines (30 loc) · 974 Bytes
/
start.bat
File metadata and controls
36 lines (30 loc) · 974 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
34
35
36
@echo off
:: ============================================================
:: JobWise — Start the web app
:: Double-click this file each time you want to use JobWise.
:: Keep this window open while you are using the app.
:: Close this window (or press Ctrl+C) to stop the server.
:: ============================================================
cd /d "%~dp0"
if not exist "venv\Scripts\python.exe" (
echo.
echo JobWise has not been set up yet.
echo Please double-click setup.bat first.
echo.
pause
exit /b 1
)
echo.
echo Starting JobWise...
echo Your browser will open automatically in a few seconds.
echo.
echo Keep this window open while using the app.
echo Close this window to stop the server.
echo.
:: Open browser after a short delay (runs in background, doesn't block)
start "" /b cmd /c "timeout /t 2 /nobreak >nul && start http://localhost:6868"
call venv\Scripts\activate.bat
python run_web.py
echo.
echo Server stopped.
pause