实验系统,启动bat
This commit is contained in:
parent
fc9108689f
commit
f9663b8e3f
19
server/simulation/Resources/simulation.bat
Normal file
19
server/simulation/Resources/simulation.bat
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 >nul
|
||||||
|
title Simulation Quick Start
|
||||||
|
|
||||||
|
if exist "%SIMULATION_MANAGE_BIN%" (
|
||||||
|
:: start "Simulation Server" cmd /k "chcp 65001 && title Simulation Server && java -Dserver.port=28280 -Dspring.profiles.active=test,mysql,redis,rocketmq,springdoc --enable-preview -Dproject.database-ip=127.0.0.1 -Dproject.redis-url=127.0.0.1 -Djasypt.encryptor.password=jwnwfA1pIoLihBptgbR8S6UEEAfGurjG -Dproject.rocketmq-url=127.0.0.1:8081 -Dproject.minio-url=http://127.0.0.1:9000 -Dproject.eval-service-url=http://127.0.0.1:28480/evaluation/samples/receiveSync -jar %SIMULATION_MANAGE_BIN%"
|
||||||
|
start "Simulation Server" cmd /k "chcp 65001 && title Simulation Server && java -Dspring.profiles.active=test,mysql,redis,rocketmq,springdoc %SIMULATION_VM_PARAMS% -jar %SIMULATION_MANAGE_BIN%"
|
||||||
|
)
|
||||||
|
|
||||||
|
if exist "%SIMULATION_MANAGE_BIN%" (
|
||||||
|
cd %SIMULATION_MAIN%\web
|
||||||
|
start "Simulation Website" cmd /k "title Simulation Website && simulation-web.exe -c conf/web.conf"
|
||||||
|
)
|
||||||
|
|
||||||
|
echo 实验服务已启动:
|
||||||
|
echo - SimulationServer (端口: 28280)
|
||||||
|
echo - SimulationWebsite (端口: 18280)
|
||||||
|
|
||||||
|
pause
|
Loading…
x
Reference in New Issue
Block a user