-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-engine.bat
More file actions
35 lines (32 loc) · 920 Bytes
/
Copy pathsetup-engine.bat
File metadata and controls
35 lines (32 loc) · 920 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
@echo off
REM ── Skaffo Engine setup (run once) ─────────────────
cd /d "%~dp0engine"
echo Creating virtualenv...
python -m venv .venv
if errorlevel 1 (
echo.
echo ERROR: python not found. Install Python 3.10+ from python.org
echo and make sure "Add Python to PATH" is checked.
pause
exit /b 1
)
echo Installing dependencies...
.venv\Scripts\python -m pip install --upgrade pip -q
.venv\Scripts\pip install -r requirements.txt
if errorlevel 1 (
echo.
echo ERROR: pip install failed. Check your internet connection.
pause
exit /b 1
)
echo.
echo ============================================
echo Engine ready. Now run: npm run dev
echo ============================================
echo.
echo To run the test suite as well:
echo cd engine
echo .venv\Scripts\pip install -r requirements-dev.txt
echo .venv\Scripts\python -m pytest tests\ -q
echo.
pause