-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuv_setup.bat
More file actions
40 lines (33 loc) · 891 Bytes
/
uv_setup.bat
File metadata and controls
40 lines (33 loc) · 891 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
37
38
39
40
@echo off
REM Setup script for uv environment on Windows
REM Run this after cloning the repository
echo Setting up doc-converter with uv...
REM Check if uv is installed
uv --version >nul 2>&1
if errorlevel 1 (
echo uv is not installed. Please install uv first:
echo winget install --id=astral-sh.uv -e
echo or: pip install uv
pause
exit /b 1
)
echo uv version:
uv --version
REM Create virtual environment and install dependencies
echo Creating virtual environment and installing dependencies...
uv sync
REM Install development dependencies
echo Installing development dependencies...
uv sync --dev
echo Setup complete!
echo.
echo To activate the virtual environment:
echo .venv\Scripts\activate
echo.
echo To run the application:
echo uv run python run_api.py
echo uv run python run_worker.py
echo.
echo To run tests:
echo uv run pytest tests/ -v
pause