robotfs/README.md
2025-05-28 17:28:15 +08:00

40 lines
755 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.

# RobotFS 文档
RobotFS 是一个轻量级的文件系统服务提供用于管理文件和目录的HTTP请求接口。它支持基本的文件操作包括创建、上传、写入和删除文件及目录。
## 功能特性
- 文件系统基本操作(创建、下载、写入、删除)
- 目录管理
- 文件管理
## 编译部署
### 环境要求
- Go 1.16 或更高版本
- Protocol Buffers 编译器 (protoc)
### 编译步骤
1. 编译项目
- 在当前平台编译:
```bash
make build
```
- 编译 Linux 版本:
```bash
make build-linux
```
2. 清理编译文件
```bash
make clean
```
### 运行服务
编译完成后,运行生成的二进制文件并指定配置文件:
```bash
./robotfs --config=/path/to/config.yml
```