feat: update shell/bat

This commit is contained in:
https://blog.iamtsm.cn
2023-08-06 11:43:03 +08:00
parent 11557c19eb
commit d66d75a41c
11 changed files with 35 additions and 5 deletions

View File

@@ -34,8 +34,13 @@ if [ "$port_9092_in_use" -gt 0 ] || [ "$port_8444_in_use" -gt 0 ]; then
exit 1
fi
# Step 6: install npm packages
echo "ready to install npm packages"
cd ../../svr/
npm install --registry=https://registry.npmmirror.com
cd ../bin/linux/
# Step 7: Run start-server.sh script to start the service
echo "ready to run auto-start-server.sh"
sleep 1
# Step 6: Run start-local.sh script to start the service
./auto-start-server.sh