NO docker

This commit is contained in:
beabigegg
2025-10-02 18:50:53 +08:00
commit 4cace93934
99 changed files with 26967 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
@echo off
REM ============================================
REM PANJIT Document Translator V2
REM Python 後端依賴安裝腳本 (Windows)
REM ============================================
echo ========================================
echo PANJIT Document Translator V2
echo Python 依賴安裝程式
echo ========================================
echo.
REM 檢查 Python 是否存在
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [錯誤] 找不到 Python請先安裝 Python 3.8 或以上版本
pause
exit /b 1
)
echo [1/4] 檢查 Python 版本...
python --version
echo.
echo [2/4] 升級 pip...
python -m pip install --upgrade pip
echo.
echo [3/4] 安裝 Python 套件依賴...
pip install -r requirements.txt
echo.
echo [4/4] 驗證安裝...
python -c "import flask; import celery; import redis; print('核心套件安裝成功!')"
echo.
echo ========================================
echo Python 依賴安裝完成!
echo ========================================
pause