File size: 601 Bytes
0eedb5a |
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 |
@echo off
REM DuckAI Server Starter
REM Starts the DuckAI OpenAI-compatible server on port 3265
echo Starting DuckAI Server...
echo.
REM Check if Node.js is installed
where node >nul 2>nul
if %ERRORLEVEL% neq 0 (
echo Node.js is not installed or not in PATH.
echo Please install Node.js from https://nodejs.org/
pause
exit /b 1
)
REM Change to DuckAI directory
cd /d "%~dp0"
REM Start DuckAI server
echo Starting DuckAI OpenAI server on port 3265...
echo Server will be available at: http://localhost:3265/v1
echo.
REM Run the server with port 3265
set PORT=3265
npm start
pause
|