File size: 643 Bytes
2edb151
676f5d4
 
 
 
 
 
 
 
 
 
 
 
 
2edb151
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
REM Windows: double-click in the repo (scripts\) or run oneshot.bat at the repo root.
setlocal
set "HERE=%~dp0"
if exist "%HERE%app\cli.py" (
  cd /d "%HERE%"
) else if exist "%HERE%..\app\cli.py" (
  cd /d "%HERE%.."
) else (
  echo Run this from the cloned repo: scripts\start-ui.bat
  echo Do not copy this file to the Desktop — use scripts\install-launcher.bat
  pause
  exit /b 1
)
if not exist ".venv\Scripts\python.exe" (
  echo Creating .venv (one time)...
  py -3.12 -m venv .venv || python -m venv .venv
  .venv\Scripts\python.exe -m pip install -e ".[dev]"
)
.venv\Scripts\python.exe -m app.launch
if errorlevel 1 pause