OpenMediation Dashboard Server provides API services for OM-Dashboard-UI.
You can package using mvn.
mvn clean package -Dmaven.test.skip=true
After packaging is complete, you can find "om-ds-server.jar" in the directory "target".
"om-ds-server.jar" is a executable jar, see springboot
"om-ds-server.conf"
## springboot cfg ###
MODE=service
APP_NAME=om-ds-server
#JAVA_HOME=/usr/local/java/jdk
JAVA_OPTS="-Dapp=$APP_NAME\
-Duser.timezone=UTC\
-Xmx3g\
-Xms1g\
-server"
RUN_ARGS="--spring.profiles.active=prod"
PID_FOLDER=log
LOG_FOLDER=log
LOG_FILENAME=stdout.log
put "om-ds-server.conf" and "om-ds-server.jar" in the same directory.
├── om-ds-server.conf
├── om-ds-server.jar
└── log
mkdir -p log
./om-ds-server.jar start
tail -f log/stdout.log
./om-ds-server.jar stop
./om-ds-server.jar restart