-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-web.bat
More file actions
33 lines (28 loc) · 753 Bytes
/
Copy pathsetup-web.bat
File metadata and controls
33 lines (28 loc) · 753 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
setlocal
cd /d "%~dp0"
where python >nul 2>nul || (
echo Python 3.10 or newer is required and was not found on PATH.
pause
exit /b 1
)
where npm >nul 2>nul || (
echo Node.js and npm are required and were not found on PATH.
pause
exit /b 1
)
if not exist ".venv\Scripts\python.exe" python -m venv .venv
call .venv\Scripts\python.exe -m pip install --upgrade pip
call .venv\Scripts\python.exe -m pip install -e ".[web,train,correlate,pdf,serve,browser,scrapling,tui,dev]"
call .venv\Scripts\python.exe -m playwright install chromium
pushd frontend
call npm install
call npm run build
popd
pushd docs-site
call npm install
call npm run build
popd
echo.
echo Setup complete. Double-click launch-gods-eye.bat for normal use.
pause