mirror of
https://github.com/latinogino/dolibarr-mcp.git
synced 2026-04-24 10:35:35 +02:00
Add simple Windows run script for Dolibarr MCP server
This commit is contained in:
28
run_dolibarr_mcp.bat
Normal file
28
run_dolibarr_mcp.bat
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
@echo off
|
||||||
|
REM Simple script to run Dolibarr MCP Server
|
||||||
|
|
||||||
|
echo ========================================
|
||||||
|
echo Starting Dolibarr MCP Server
|
||||||
|
echo ========================================
|
||||||
|
|
||||||
|
REM Check if virtual environment exists
|
||||||
|
if not exist "venv_dolibarr\Scripts\python.exe" (
|
||||||
|
echo Virtual environment not found!
|
||||||
|
echo Please run setup.py first.
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
|
REM Check if .env file exists
|
||||||
|
if not exist ".env" (
|
||||||
|
echo .env file not found!
|
||||||
|
echo Creating from template...
|
||||||
|
copy .env.example .env
|
||||||
|
echo Please edit .env with your Dolibarr credentials
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
|
REM Activate virtual environment and run server
|
||||||
|
echo Running server...
|
||||||
|
venv_dolibarr\Scripts\python.exe -m dolibarr_mcp
|
||||||
|
|
||||||
|
pause
|
||||||
Reference in New Issue
Block a user