6897f88afd
Prompt for repo URL and install directory, auto git clone, then run project setup. Keep deploy.py for in-repo updates only. Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
209 B
Bash
7 lines
209 B
Bash
#!/usr/bin/env bash
|
|
# 已在项目目录内时:更新依赖与配置(不会克隆代码)
|
|
# 首次安装请用: bash scripts/install.sh
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
python3 scripts/deploy.py
|