> [!NOTE] > 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。 > [English](./README.en.md) · [原始项目](https://github.com/apache/answer) · [上游 README](https://github.com/apache/answer/blob/HEAD/README.md) > 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。 logo # Apache Answer - 构建问答(Q&A)平台 面向各种规模团队的问答(Q&A)平台软件。无论是社区论坛、帮助中心还是知识管理平台,Answer 都值得信赖。 了解更多项目信息,请访问 [answer.apache.org](https://answer.apache.org). [![LICENSE](https://img.shields.io/github/license/apache/answer)](https://github.com/apache/answer/blob/main/LICENSE) [![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/) [![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/) [![Go Report Card](https://goreportcard.com/badge/github.com/apache/answer)](https://goreportcard.com/report/github.com/apache/answer) [![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej) ## 截图 ![screenshot](docs/img/screenshot.png) ## 快速开始 ### 使用 Docker 运行 ```bash docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:2.0.2 ``` 更多信息请参阅 [安装](https://answer.apache.org/docs/installation). ### 插件 Answer 为开发者提供插件系统,用于创建自定义插件并扩展 Answer 的功能。你可以在[此处查看插件文档](https://answer.apache.org/community/plugins). 我们重视你的反馈和建议,以不断改进文档。如有任何意见或问题,欢迎随时联系我们。我们期待看到你利用插件系统创造出什么! 你也可以在[此处浏览插件](https://answer.apache.org/plugins). ## 从源码构建 ### 前置条件 - Golang >= 1.23 - Node.js >= 20 - pnpm >= 9 - [mockgen](https://github.com/uber-go/mock?tab=readme-ov-file#installation) >= 0.6.0 - [wire](https://github.com/google/wire/) >= 0.5.0 ### 构建 ```bash # Install wire and mockgen for building. You can run `make check` to check if they are installed. $ make generate # Install frontend dependencies and build $ make ui # Install backend dependencies and build $ make build ``` ## 贡献 欢迎贡献! 请参阅 [CONTRIBUTING](https://answer.apache.org/community/contributing) 了解如何开始参与。 ## 许可证 [Apache License 2.0](https://github.com/apache/answer/blob/main/LICENSE)