🔄 卡若AI 同步 2026-03-13 23:06 | 更新:火炬、总索引与入口、运营中枢、运营中枢工作台 | 排除 >20MB: 11 个

This commit is contained in:
2026-03-13 23:06:19 +08:00
parent 7885fa27c5
commit d52f030646
20 changed files with 1582 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# ──────────────────────────────────────────────
# 艾叶 IM Bridge 启动脚本
# 用法: bash start.sh [端口]
# ──────────────────────────────────────────────
set -e
cd "$(dirname "$0")"
PORT="${1:-18900}"
if [ ! -d ".venv" ]; then
echo "→ 创建虚拟环境 .venv"
python3 -m venv .venv
fi
echo "→ 安装依赖"
.venv/bin/pip install -q -r requirements.txt
if [ ! -f "config/channels.yaml" ]; then
echo "→ 初始化配置文件 config/channels.yaml"
cp config/channels.example.yaml config/channels.yaml
fi
echo "→ 启动艾叶 IM Bridge (端口 $PORT)"
AIYE_PORT="$PORT" .venv/bin/python main.py