Markdown / start.bat
GauthierDemonchy
Premier commit propre
898ed62
Raw
History Blame Contribute Delete
754 Bytes
@echo off
REM ============================
REM MarkitDown — Launcher Windows
REM ============================
title MarkitDown WebApp
REM Vérifier Python
where python >nul 2>nul
if %ERRORLEVEL% neq 0 (
echo Python n'est pas installe ou n'est pas dans le PATH.
echo Veuillez installer Python 3.9+ depuis https://python.org
echo.
pause
exit /b 1
)
REM Vérifier / créer le venv
if not exist "venv\" (
echo Creation de l'environnement virtuel...
python -m venv venv
call venv\Scripts\python.exe -m ensurepip --upgrade
)
echo Installation / mise a jour des dependances...
venv\Scripts\python.exe -m pip install -r requirements.txt
echo.
echo Lancement de MarkitDown WebApp...
echo.
venv\Scripts\python.exe app.py
pause