File size: 754 Bytes
898ed62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@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