@echo off @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. echo change to path: %cd% @REM set MQhost=localhost set MQhost=47.92.33.19 set MQuser=chai set MQpassword=password123 set WEBhost=0.0.0.0 set WEBport=5000 set SAVEfolder=./data/server0/ set SERVERname=server0 set LOGfile=ServerTEST.log @REM Launch the Server echo the log file will be saved in the [%LOGfile%] file echo Server.py is running ... @REM -------- Usage: Server.py [MQhost] [MQuser] [MQpassword] [QUEUEname] [WEBport] [SAVEfolder]") python ./scripts/mqServer.py %MQhost% %MQuser% %MQpassword% %WEBhost% %WEBport% %SAVEfolder% %SERVERname% echo Server.py has been terminited. pause