You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.1 KiB
61 lines
1.1 KiB
7 days ago
|
# CoreAgent
|
||
|
|
||
|
## 项目简介
|
||
|
CoreAgent 是一个基于 .NET 8.0 的现代化应用程序,采用微服务架构设计。
|
||
|
|
||
|
## 技术栈
|
||
|
- .NET 8.0
|
||
|
- ASP.NET Core
|
||
|
- Entity Framework Core
|
||
|
- SQL Server
|
||
|
- Docker
|
||
|
|
||
|
## 项目结构
|
||
|
```
|
||
|
CoreAgent/
|
||
|
├── CoreAgent.API/ # Web API 项目
|
||
|
├── CoreAgent.Application/ # 应用层
|
||
|
├── CoreAgent.Domain/ # 领域层
|
||
|
└── CoreAgent.Infrastructure/# 基础设施层
|
||
|
```
|
||
|
|
||
|
## 开发环境要求
|
||
|
- Visual Studio 2022 或更高版本
|
||
|
- .NET 8.0 SDK
|
||
|
- SQL Server 2019 或更高版本
|
||
|
- Docker Desktop (可选)
|
||
|
|
||
|
## 快速开始
|
||
|
|
||
|
### 1. 克隆项目
|
||
|
```bash
|
||
|
git clone http://47.120.42.247:13001/root/CoreAgent.git
|
||
|
```
|
||
|
|
||
|
### 2. 还原依赖
|
||
|
```bash
|
||
|
dotnet restore
|
||
|
```
|
||
|
|
||
|
### 3. 运行项目
|
||
|
```bash
|
||
|
dotnet run --project CoreAgent.API
|
||
|
```
|
||
|
|
||
|
## 项目配置
|
||
|
1. 在 `appsettings.json` 中配置数据库连接字符串
|
||
|
2. 确保已安装所需的 NuGet 包
|
||
|
3. 运行数据库迁移(如果适用)
|
||
|
|
||
|
## 贡献指南
|
||
|
1. Fork 项目
|
||
|
2. 创建特性分支
|
||
|
3. 提交更改
|
||
|
4. 推送到分支
|
||
|
5. 创建 Pull Request
|
||
|
|
||
|
## 许可证
|
||
|
[待定]
|
||
|
|
||
|
## 联系方式
|
||
|
[待定]
|