wu_xinjun
2022-06-07 da6ff0858f4997f79f5d8cdc88b7367a5cb710b1
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
31
32
33
34
@echo off
 
@REM change to the filepath
cd %~dp0
cd ..
 
set aerialpython=%cd%/.env/python.exe
set envsetting=%cd%/env/SettingEnv.bat
 
@REM Setting the env
if not exist %aerialpython% (
    call %envsetting% 
)
cd %~dp0
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=./Received_data_testing
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]")
%aerialpython% ./scripts/mqServer.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %WEBport% %SAVEfolder%
echo Server.py has been terminited.
pause