实验构建初始化bat
This commit is contained in:
parent
f9663b8e3f
commit
66de4ce4c4
@ -3,7 +3,6 @@ chcp 65001 >nul
|
|||||||
title Simulation Quick Start
|
title Simulation Quick Start
|
||||||
|
|
||||||
if exist "%SIMULATION_MANAGE_BIN%" (
|
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%"
|
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%"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -12,8 +11,8 @@ if exist "%SIMULATION_MANAGE_BIN%" (
|
|||||||
start "Simulation Website" cmd /k "title Simulation Website && simulation-web.exe -c conf/web.conf"
|
start "Simulation Website" cmd /k "title Simulation Website && simulation-web.exe -c conf/web.conf"
|
||||||
)
|
)
|
||||||
|
|
||||||
echo 实验服务已启动:
|
echo Simulation:
|
||||||
echo - SimulationServer (端口: 28280)
|
echo - SimulationServer (Port: 28280)
|
||||||
echo - SimulationWebsite (端口: 18280)
|
echo - SimulationWebsite (Port: 18280)
|
||||||
|
|
||||||
pause
|
pause
|
26
server/simulation/resources-initialize.bat
Normal file
26
server/simulation/resources-initialize.bat
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
@echo off
|
||||||
|
setlocal enabledelayedexpansion
|
||||||
|
chcp 65001 >nul
|
||||||
|
title Initialization
|
||||||
|
|
||||||
|
set "BASE_PATH=Resources/"
|
||||||
|
|
||||||
|
:: server 启动jar
|
||||||
|
:: script 或数据库初始化脚本、或数据库补丁脚本
|
||||||
|
:: web Nginx程序与代理配置
|
||||||
|
:: dist 服务Web UI
|
||||||
|
|
||||||
|
echo [INFO] 正在创建 【实验】 初始化构建安装包目录结构
|
||||||
|
for %%f in (
|
||||||
|
"server"
|
||||||
|
"script/simulation"
|
||||||
|
"web"
|
||||||
|
"dist"
|
||||||
|
) do (
|
||||||
|
echo [INFO] 创建: %%~f
|
||||||
|
mkdir "%BASE_PATH%/%%~f"
|
||||||
|
echo.
|
||||||
|
)
|
||||||
|
|
||||||
|
pause
|
||||||
|
endlocal
|
Loading…
x
Reference in New Issue
Block a user