-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Update README.md #33149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update README.md #33149
Changes from 7 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8c0e36d
update
yp05327 12d0772
update
yp05327 0737b44
update
yp05327 574b42f
update
yp05327 4ad58bf
update ZH
yp05327 c1a93dd
fix lint
yp05327 885acdb
fix lint
yp05327 2c44e0e
update Crowdin url
yp05327 a36bb48
improve
yp05327 82c4ef8
update
yp05327 674ce38
update
yp05327 77e3a81
Update README_ZH.md
yp05327 9bfc62e
Update README_ZH.md
yp05327 e273145
Update README_ZH.md
yp05327 f2e08cb
convert half-width characters into full-width characters in zh readme
yp05327 1dac3ec
Merge branch 'main' into update-readme
GiteaBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,34 +23,70 @@ Gitea 的首要目标是创建一个极易安装,运行非常快速,安装 | |
|
||
如果你想在 Gitea Cloud 上快速部署你自己独享的 Gitea 实例,请访问 [cloud.gitea.com](https://cloud.gitea.com) 开始免费试用。 | ||
|
||
## 提示 | ||
|
||
1. **开始贡献代码之前请确保你已经看过了 [贡献者向导(英文)](CONTRIBUTING.md)**. | ||
2. 所有的安全问题,请私下发送邮件给 **[email protected]**。谢谢! | ||
3. 如果你要使用API,请参见 [API 文档](https://godoc.org/code.gitea.io/sdk/gitea). | ||
|
||
## 文档 | ||
|
||
关于如何安装请访问我们的 [文档站](https://docs.gitea.com/zh-cn/category/installation),如果没有找到对应的文档,你也可以通过 [Discord - 英文](https://discord.gg/gitea) 和 QQ群 328432459 来和我们交流。 | ||
|
||
## 贡献流程 | ||
## 编译 | ||
|
||
在源代码的根目录下执行: | ||
|
||
TAGS="bindata" make build | ||
|
||
或者如果需要SQLite支持: | ||
|
||
TAGS="bindata sqlite sqlite_unlock_notify" make build | ||
|
||
编译过程会分成2个子任务: | ||
|
||
- `make backend`, 需要 [Go Stable](https://go.dev/dl/), 最低版本需求可查看 [go.mod](/go.mod). | ||
- `make frontend`, 需要 [Node.js LTS](https://nodejs.org/en/download/) 或更高版本. | ||
|
||
你需要连接网络来下载 go 和 npm modules. 当从 tar 格式的源文件编译时,其中包含了预编译的前端文件,因此 `make frontend` 将不会被执行. 这允许编译时不需要 Node.js. | ||
yp05327 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
更多信息: https://docs.gitea.com/installation/install-from-source | ||
|
||
## 使用 | ||
|
||
编译之后, 默认会在根目录下生成一个名为 `gitea` 的文件. 你可以这样执行它: | ||
|
||
Fork -> Patch -> Push -> Pull Request | ||
./gitea web | ||
|
||
> [!注意] | ||
> 如果你要使用API,请参见 [API 文档](https://godoc.org/code.gitea.io/sdk/gitea). | ||
|
||
## 贡献 | ||
|
||
贡献流程: Fork -> Patch -> Push -> Pull Request | ||
|
||
> [!注意] | ||
> | ||
> 1. **开始贡献代码之前请确保你已经看过了 [贡献者向导(英文)](CONTRIBUTING.md)**. | ||
> 2. 所有的安全问题,请私下发送邮件给 **[email protected]**. 谢谢! | ||
|
||
## 翻译 | ||
|
||
多语言翻译是基于Crowdin进行的. | ||
[](https://crowdin.com/project/gitea) | ||
|
||
多语言翻译是基于Crowdin进行的. | ||
|
||
从 [文档](https://docs.gitea.com/contributing/localization) 中获取更多信息. | ||
|
||
## 官方和第三方项目 | ||
|
||
Gitea 提供官方的 [go-sdk](https://gitea.com/gitea/go-sdk), 名为 [tea](https://gitea.com/gitea/tea) 的 CLI 工具 和 用于 Gitea Action 的 [action runner](https://gitea.com/gitea/act_runner). | ||
|
||
[gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea) 是一个 Gitea 相关项目的列表, 你可以在这里找到更多的第三方项目,包括 SDK, 插件, 主题等等. | ||
yp05327 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## 作者 | ||
|
||
* [Maintainers](https://github.com/orgs/go-gitea/people) | ||
* [Contributors](https://github.com/go-gitea/gitea/graphs/contributors) | ||
* [Translators](options/locale/TRANSLATORS) | ||
- [Maintainers](https://github.com/orgs/go-gitea/people) | ||
- [Contributors](https://github.com/go-gitea/gitea/graphs/contributors) | ||
- [Translators](options/locale/TRANSLATORS) | ||
|
||
## 授权许可 | ||
|
||
本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/go-gitea/gitea/blob/main/LICENSE) 文件中。 | ||
本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/go-gitea/gitea/blob/main/LICENSE) 文件中. | ||
yp05327 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## 截图 | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.