Skip to content

pub-pipeline 安装配置

前置要求

  • MySQL 8.0+
  • Bun >= 1.0
  • Chrome 浏览器(用于 pub-plugin)
  • Anthropic API Key

1. 数据库初始化

sql
CREATE DATABASE pub_hub CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

(完整 Schema 待补充)

2. 配置 pub-bridge

bash
# 克隆项目(私有仓库)
git clone http://192.168.31.200:3001/work/pub-bridge

# 安装依赖
bun install

# 配置环境变量
cp .env.example .env
# 编辑 .env,填写 MySQL 和 Anthropic API Key

3. 加载 Chrome 扩展

(内容待补充)