OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
13
.dev/remote-deploy/06_npm_install.sh
Normal file
13
.dev/remote-deploy/06_npm_install.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
APP_DIR=/var/www/onebot
|
||||
LOG=/tmp/npm_install.log
|
||||
export PATH="/home/rui/.nvm/versions/node/v24.12.0/bin:$PATH"
|
||||
|
||||
cd "$APP_DIR"
|
||||
echo "npm install 开始 $(date)" > "$LOG"
|
||||
node -v >> "$LOG" 2>&1
|
||||
npm -v >> "$LOG" 2>&1
|
||||
npm install --no-audit --no-fund >> "$LOG" 2>&1
|
||||
echo "NPM_EXIT=$?" >> "$LOG"
|
||||
echo "完成 $(date)" >> "$LOG"
|
||||
Reference in New Issue
Block a user