feat: 添加公司AI管理平台基础架构 添加了完整的FastAPI后端项目结构,包括: - 环境配置文件(.env.example)和项目说明文档(README.md、AGENTS.md) - Dockerfile用于容器化部署 - 核心基础设施:配置管理、数据库连接、调度器、安全认证 - 模块化设计:AI代理、审批流程、审计日志、业务台账等功能模块 - 支持多数据库连接(主库和遗留系统只读库) - AI适配器支持OpenClaw、Hermes、OpenAI兼容接口 - 飞书集成、报表生成、风险监控等企业级功能 - 完整的依赖管理和测试指南 ```
49 lines
824 B
Markdown
49 lines
824 B
Markdown
# 项目位置与启动说明
|
|
|
|
## 项目位置
|
|
|
|
当前项目已经移动到:
|
|
|
|
```text
|
|
D:\Python\AI\company-ai-platform
|
|
```
|
|
|
|
原来的临时输出目录已经不再使用:
|
|
|
|
```text
|
|
C:\Users\20143\Documents\Codex\2026-06-21\new-chat\outputs\company-ai-platform
|
|
```
|
|
|
|
## Conda 环境
|
|
|
|
Conda 环境名:
|
|
|
|
```text
|
|
company-ai-platform
|
|
```
|
|
|
|
## 启动命令
|
|
|
|
在 PowerShell 中执行:
|
|
|
|
```powershell
|
|
cd D:\Python\AI\company-ai-platform
|
|
conda activate company-ai-platform
|
|
uvicorn app.main:app --reload --host 0.0.0.0 --port 8010
|
|
```
|
|
|
|
启动后访问接口文档:
|
|
|
|
```text
|
|
http://127.0.0.1:8010/docs
|
|
```
|
|
|
|
## 常用验证命令
|
|
|
|
```powershell
|
|
conda run -n company-ai-platform python -m compileall app tests scripts
|
|
conda run -n company-ai-platform python scripts\verify_smoke.py
|
|
conda run -n company-ai-platform pytest -q
|
|
```
|
|
|