forked from admin/PlantAI-rag-new
- BFF 薄适配层(FastAPI,8090):QA 代理/SSE 中继/Neo4j 直连/抽取代理/会话持久化 - Vue3 前端:五相位检索流水线、文献来源与证据链、知识图谱、提取任务四 tab - 四档响应式(桌面/笔记本/平板/手机)、深浅主题 - 81 个 FR 全部实现,测试追溯矩阵 81/81,后端 121 测/前端 156 测 - 真实凭据已脱敏,运行时配置在 backend/.env(不入 git) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
16 lines
640 B
Bash
16 lines
640 B
Bash
#!/bin/bash
|
|
# deploy/sync.sh —— 本地 → 远端 rsync(PM 独占执行,agent 不自行运行)
|
|
set -euo pipefail
|
|
REMOTE_HOST="100.109.52.26"
|
|
REMOTE_DIR="/home/xzq/5090/teamWorkspace/zh/PlantAI-rag-new"
|
|
LOCAL_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
|
|
|
rsync -az --delete \
|
|
--exclude 'node_modules' --exclude '__pycache__' --exclude '.venv' \
|
|
--exclude '.venv-backend' \
|
|
--exclude 'backend/data' --exclude 'frontend/dist' --exclude '.pytest_cache' \
|
|
--exclude '.env' \
|
|
--exclude '.git' \
|
|
"$LOCAL_DIR/" "$REMOTE_HOST:$REMOTE_DIR/" 2>&1 | grep -v "remote port forwarding" || true
|
|
echo "SYNC OK → $REMOTE_HOST:$REMOTE_DIR"
|