纳入范围: - backend/ Spring Boot 多模块后端(iot-common/device/rule/data/alarm/auth) - frontend/admin/ Vue3 + Element Plus 管理后台 - Android/ 涂鸦原生 APP (com.xhai.iot) - backend/sql/ Flyway 风格迁移脚本(V2~V21) - docs/ 对接文档与设计文档 排除范围: - 构建产物: node_modules/ target/ build/ dist/ .gradle/ - 签名密钥: *.jks *.keystore (严禁入库) - 本机配置: Android/local.properties - 运行日志: logs/ *.log - AI 协作本地数据 .codebuddy/ 与第三方 demo tuya-demo/ .gitattributes 统一以 LF 存储, Windows 批处理保留 CRLF
17 lines
480 B
Batchfile
17 lines
480 B
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
set JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-17.0.19.10-hotspot
|
|
set PATH=%JAVA_HOME%\bin;%PATH%
|
|
|
|
cd /d f:\work\iotsaas\backend
|
|
|
|
echo Stopping existing iot-device...
|
|
for /f "tokens=5" %%a in ('netstat -ano 2^>nul ^| findstr :9081 ^| findstr LISTENING') do (
|
|
taskkill /pid %%a /f >nul 2>&1
|
|
)
|
|
timeout /t 2 >nul
|
|
|
|
echo Starting iot-device on port 9081...
|
|
start "iot-device" java -jar iot-device/target/iot-device-1.0.0.jar
|
|
echo iot-device started.
|