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

32
start_redis.bat Normal file
View File

@@ -0,0 +1,32 @@
@echo off
REM ============================================
REM PANJIT Document Translator V2
REM Redis 啟動腳本 (Windows)
REM ============================================
echo ========================================
echo 啟動 Redis 服務 (端口 6379)
echo ========================================
echo.
REM 檢查 Redis 是否已安裝
where redis-server >nul 2>&1
if %errorlevel% neq 0 (
echo [錯誤] 找不到 redis-server
echo.
echo 請先安裝 Redis for Windows:
echo 1. 下載: https://github.com/tporadowski/redis/releases
echo 2. 或使用 Chocolatey: choco install redis-64
echo 3. 或使用 WSL 安裝 Linux 版 Redis
echo.
pause
exit /b 1
)
echo [INFO] 啟動 Redis 服務器...
echo [INFO] 按 Ctrl+C 停止服務
echo.
redis-server --port 6379 --maxmemory 256mb --maxmemory-policy allkeys-lru
pause