diff --git a/backend/README.md b/backend/README.md index c35da87..74fff9d 100644 --- a/backend/README.md +++ b/backend/README.md @@ -16,7 +16,6 @@ This is the backend server for PrivyDrop. It is built with Node.js, Express, and - **Language**: TypeScript - **Real-time Communication**: Socket.IO - **Database**: Redis (using the ioredis client) -- **Process Management**: PM2 ## 🚀 Getting Started (Local Development) @@ -56,4 +55,4 @@ This service provides a set of API endpoints and Socket.IO events to support the - To understand the backend's code structure, module design, and Redis data model in depth, please read the [**Backend Architecture Deep Dive**](../docs/BACKEND_ARCHITECTURE.md). - To learn about how the frontend and backend collaborate, refer to the [**Overall Project Architecture**](../docs/ARCHITECTURE.md). -- For instructions on deploying in a production environment, please see the [**Deployment Guide**](../docs/DEPLOYMENT.md). +- For production deployment, see the [**Docker Deployment Guide**](../docs/DEPLOYMENT_docker.md). diff --git a/backend/README.zh-CN.md b/backend/README.zh-CN.md index ba9ba33..82c5a5c 100644 --- a/backend/README.zh-CN.md +++ b/backend/README.zh-CN.md @@ -16,7 +16,6 @@ - **语言**: TypeScript - **实时通信**: Socket.IO - **数据库**: Redis (使用 ioredis 客户端) -- **进程管理**: PM2 ## 🚀 入门 (本地开发) @@ -56,4 +55,4 @@ - 要深入理解后端的代码结构、模块设计和 Redis 数据模型,请阅读 [**后端架构详解**](../docs/BACKEND_ARCHITECTURE.zh-CN.md)。 - 要了解项目前后端的整体协作方式,请参阅 [**项目整体架构**](../docs/ARCHITECTURE.zh-CN.md)。 -- 有关生产环境的部署方法,请参考 [**部署指南**](../docs/DEPLOYMENT.zh-CN.md)。 +- 有关生产环境部署,请参考 [**Docker 部署指南**](../docs/DEPLOYMENT_docker.zh-CN.md)。 diff --git a/docs/BACKEND_ARCHITECTURE.md b/docs/BACKEND_ARCHITECTURE.md index c0413ad..14b8ee2 100644 --- a/docs/BACKEND_ARCHITECTURE.md +++ b/docs/BACKEND_ARCHITECTURE.md @@ -42,7 +42,6 @@ backend/ │ │ ├── room.ts │ │ └── socket.ts │ └── server.ts # Main application entry point: Express and Socket.IO setup -├── ecosystem.config.js # PM2 configuration file ├── package.json └── tsconfig.json ``` @@ -132,4 +131,4 @@ Redis is a key component of the backend, used to store all temporary state. We c - **Purpose**: Tracks the number of visits from different sources (Referrers) on a daily basis. - **Fields**: The referrer's domain name (e.g., `google.com`, `github.com`). - **Value**: The cumulative visit count for the day. - - **Logic**: The `HINCRBY` command is used to atomically increment the count for a specified source. \ No newline at end of file + - **Logic**: The `HINCRBY` command is used to atomically increment the count for a specified source. diff --git a/docs/BACKEND_ARCHITECTURE.zh-CN.md b/docs/BACKEND_ARCHITECTURE.zh-CN.md index 3fa2786..bf1f65c 100644 --- a/docs/BACKEND_ARCHITECTURE.zh-CN.md +++ b/docs/BACKEND_ARCHITECTURE.zh-CN.md @@ -42,7 +42,6 @@ backend/ │ │ ├── room.ts │ │ └── socket.ts │ └── server.ts # 主应用程序入口点: Express 和 Socket.IO 设置 -├── ecosystem.config.js # PM2 配置文件 ├── package.json └── tsconfig.json ``` diff --git a/frontend/README.md b/frontend/README.md index fd06a68..159db2b 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -41,7 +41,7 @@ Before you start, please ensure you have **installed and started the backend ser - To understand the complete project architecture and how components collaborate, please see the [**Overall Project Architecture**](../docs/ARCHITECTURE.md). - To dive deep into the frontend's code structure, Hooks design, and state management, please read the [**Frontend Architecture Deep Dive**](../docs/FRONTEND_ARCHITECTURE.md). -- For instructions on deploying in a production environment, please refer to the [**Deployment Guide**](../docs/DEPLOYMENT.md). +- For production deployment, see the [**Docker Deployment Guide**](../docs/DEPLOYMENT_docker.md). ## 🤝 Contributing diff --git a/frontend/README.zh-CN.md b/frontend/README.zh-CN.md index 61b63c7..60aa0cf 100644 --- a/frontend/README.zh-CN.md +++ b/frontend/README.zh-CN.md @@ -41,7 +41,7 @@ - 要了解完整的项目架构和组件协作方式,请参阅 [**项目整体架构**](../docs/ARCHITECTURE.zh-CN.md)。 - 要深入理解前端的代码结构、Hooks 设计和状态管理,请阅读 [**前端架构详解**](../docs/FRONTEND_ARCHITECTURE.zh-CN.md)。 -- 有关生产环境的部署方法,请参考 [**部署指南**](../docs/DEPLOYMENT.zh-CN.md)。 +- 有关生产环境部署,请参考 [**Docker 部署指南**](../docs/DEPLOYMENT_docker.zh-CN.md)。 ## 🤝 参与贡献