Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

23 lines
460 B
Bash

#!/bin/bash
# isomorphic-git 实验环境初始化
# 在 /data/guanghulab/repo 下执行
cd /data/guanghulab/repo
# 安装 isomorphic-git
if [ -d node_modules/isomorphic-git ]; then
echo "[OK] isomorphic-git already installed"
else
echo "[INSTALL] isomorphic-git..."
npm install isomorphic-git 2>&1 | tail -3
fi
# 确认 .git 目录
if [ -d .git ]; then
echo "[OK] Git repo: $(pwd)"
else
echo "[FAIL] .git not found"
exit 1
fi
echo "SETUP_DONE"