auto-account-machine/browser-automation-ts/RUN.md
2025-11-21 17:59:49 +08:00

44 lines
891 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🚀 快速运行指南
## 第一步:设置环境变量
在PowerShell中设置临时
```powershell
# 必需 - AdsPower配置
$env:ADSPOWER_USER_ID="your-profile-id"
# 必需 - Windsurf账号
$env:WINDSURF_EMAIL="your-email@example.com"
$env:WINDSURF_PASSWORD="your-password"
$env:WINDSURF_FIRSTNAME="John"
$env:WINDSURF_LASTNAME="Doe"
```
或者创建 `.env` 文件(复制 `.env.example`
```bash
cp .env.example .env
# 然后编辑 .env 文件填写真实信息
```
## 第二步:运行
```bash
cd browser-automation-ts
pnpm run run -- windsurf
```
## 🎯 就是这么简单!
运行后你会看到:
- 🚀 Browser Automation Executor
- ✅ 每个步骤的执行状态
- 📊 最终执行摘要
## 📝 添加新网站
1.`configs/sites/` 创建新YAML
2. 设置对应的环境变量网站名_字段名
3. 运行:`pnpm run run -- 网站名`