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.

139 lines
7.1 KiB

  1. [English](https://github.com/go-gitea/gitea/blob/master/README.md)
  2. # Gitea - Git with a cup of tea
  3. [![Build Status](http://drone.gitea.io/api/badges/go-gitea/gitea/status.svg)](http://drone.gitea.io/go-gitea/gitea)
  4. [![Join the chat at https://gitter.im/go-gitea/gitea](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-gitea/gitea?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
  5. [![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](http://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
  6. [![Coverage Status](https://coverage.gitea.io/badges/go-gitea/gitea/coverage.svg)](https://coverage.gitea.io/go-gitea/gitea)
  7. [![Go Report Card](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea)
  8. [![GoDoc](https://godoc.org/code.gitea.io/gitea?status.svg)](https://godoc.org/code.gitea.io/gitea)
  9. [![](public/img/gitea-large-resize.png)](https://github.com/go-gitea/gitea)
  10. ##### 状态
  11. **最新稳定版**: (查看 [Releases](https://github.com/go-gitea/gitea/releases))
  12. | Web | UI | Preview |
  13. |:-------------:|:-------:|:-------:|
  14. |![Dashboard](https://gogs.io/img/screenshots/1.png)|![Repository](https://gogs.io/img/screenshots/2.png)|![Commits History](https://gogs.io/img/screenshots/3.png)|
  15. |![Profile](https://gogs.io/img/screenshots/4.png)|![Admin Dashboard](https://gogs.io/img/screenshots/5.png)|![Diff](https://gogs.io/img/screenshots/6.png)|
  16. |![Issues](https://gogs.io/img/screenshots/7.png)|![Releases](https://gogs.io/img/screenshots/8.png)|![Organization](https://gogs.io/img/screenshots/9.png)|
  17. ### 重要提示
  18. 1. **开始贡献代码之前请确保你已经看过了 [贡献者向导(英文)](CONTRIBUTING.md)**.
  19. 2. 所有的安全问题,请私下发送邮件给 **security@gitea.io**。谢谢!
  20. 3. 如果你要使用API,请参见 [API 文档](https://godoc.org/github.com/go-gitea/go-sdk).
  21. ## 目标
  22. Gitea的首要目标是创建一个极易安装,运行非常快速,安装和使用体验良好的自建 Git 服务。我们采用Go作为后端语言,这使我们只要生成一个可执行程序即可。并且他还支持跨平台,支持 Linux, macOS 和 Windows 以及各种架构,除了x86,amd64,还包括 ARM 和 PowerPC。
  23. 如果您想试用一下,请访问 [在线Demo](https://try.gitea.io/)!
  24. ## 功能特性
  25. - 支持活动时间线
  26. - 支持 SSH 以及 HTTP/HTTPS 协议
  27. - 支持 SMTP、LDAP 和反向代理的用户认证
  28. - 支持反向代理子路径
  29. - 支持用户、组织和仓库管理系统
  30. - 支持添加和删除仓库协作者
  31. - 支持仓库和组织级别 Web 钩子(包括 Slack 集成)
  32. - 支持仓库 Git 钩子和部署密钥
  33. - 支持仓库工单(Issue)、合并请求(Pull Request)以及 Wiki
  34. - 支持迁移和镜像仓库以及它的 Wiki
  35. - 支持在线编辑仓库文件和 Wiki
  36. - 支持自定义源的 Gravatar 和 Federated Avatar
  37. - 支持邮件服务
  38. - 支持后台管理面板
  39. - 支持 MySQL、PostgreSQL、SQLite3 和 TiDB(实验性支持) 数据库
  40. - 支持多语言本地化(20 种语言)
  41. ## 系统要求
  42. - 最低的系统硬件要求为一个廉价的树莓派
  43. - 如果用于团队项目,建议使用 2 核 CPU 及 1GB 内存
  44. ## 浏览器支持
  45. - 请根据 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) 查看具体支持的浏览器版本。
  46. - 官方支持的最小 UI 尺寸为 **1024*768**,UI 不一定会在更小尺寸的设备上被破坏,但我们无法保证且不会修复。
  47. ## 安装
  48. **提示: 因为 Gitea 是从 [Gogs](https://github.com/gogits/gogs) fork 过来的,因此教程和文档可以直接应用在 Gitea 上**
  49. 安装 Gitea:
  50. - go get code.gitea.io/gitea
  51. - [使用Docker安装](https://docs.gitea.io/zh-cn/%E4%BB%8Edocker%E5%AE%89%E8%A3%85/)
  52. - [使用Vagrant安装](https://github.com/go-gitea/examples/tree/master/vagrant)
  53. **提示: 二进制版本即将发布**
  54. ### 教程
  55. - [使用 Gogs 搭建自己的 Git 服务器](https://mynook.info/blog/post/host-your-own-git-server-using-gogs)
  56. - [阿里云上 Ubuntu 14.04 64 位安装 Gogs](http://my.oschina.net/luyao/blog/375654)
  57. - [How To Set Up Gogs on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-gogs-on-ubuntu-14-04) (英文)
  58. - [Run your own GitHub-like service with the help of Docker](http://blog.hypriot.com/post/run-your-own-github-like-service-with-docker/) (英文)
  59. - [Dockerized Gogs git server and alpine postgres in 20 minutes or less](http://garthwaite.org/docker-gogs.html) (英文)
  60. - [Host Your Own Private GitHub with Gogs.io](https://eladnava.com/host-your-own-private-github-with-gogs-io/) (英文)
  61. - [Installing Gogs on FreeBSD](https://www.codejam.info/2015/03/installing-gogs-on-freebsd.html) (英文)
  62. - [Gogs on Raspberry Pi](http://blog.meinside.pe.kr/Gogs-on-Raspberry-Pi/) (英文)
  63. - [Cloudflare Full SSL with GOGS (Go Git Service) using NGINX](http://www.listekconsulting.com/articles/cloudflare-full-ssl-with-gogs-go-git-service-using-nginx/) (英文)
  64. - [How to install Gogs on a Linux Server (DigitalOcean)](https://www.youtube.com/watch?v=deSfX0gqefE) (英文 视频)
  65. - [Instalando Gogs no Ubuntu](https://www.youtube.com/watch?v=4UkHAR1F7ZA) (Português) (英文 视频)
  66. ### 云端部署
  67. - [OpenShift](https://github.com/tkisme/gogs-openshift)
  68. - [Cloudron](https://cloudron.io/appstore.html#io.gogs.cloudronapp)
  69. - [Scaleway](https://www.scaleway.com/imagehub/gogs/)
  70. - [Portal](https://portaldemo.xyz/cloud/)
  71. - [Sandstorm](https://github.com/cem/gogs-sandstorm)
  72. - [sloppy.io](https://github.com/sloppyio/quickstarters/tree/master/gogs)
  73. - [YunoHost](https://github.com/mbugeia/gogs_ynh)
  74. - [DPlatform](https://github.com/j8r/DPlatform)
  75. ## 软件及服务支持
  76. - [Drone](https://github.com/drone/drone) (CI)
  77. - [Fabric8](http://fabric8.io/) (DevOps)
  78. - [Taiga](https://taiga.io/) (Project Management)
  79. - [Puppet](https://forge.puppetlabs.com/Siteminds/gogs) (IT)
  80. - [Kanboard](http://kanboard.net/plugin/gogs-webhook) (Project Management)
  81. - [BearyChat](https://bearychat.com/) (Team Communication)
  82. - [HiWork](http://www.hiwork.cc/) (Team Communication)
  83. ### 产品支持
  84. - [Synology](https://www.synology.com) (Docker)
  85. - [One Space](http://www.onespace.cc) (App Store)
  86. ## 特别鸣谢
  87. - Router and middleware mechanism of [Macaron](https://github.com/go-macaron/macaron).
  88. - System Monitor Status is inspired by [GoBlog](https://github.com/fuxiaohei/goblog).
  89. - Thanks [Rocker](http://weibo.com/rocker1989) for designing Logo.
  90. - Thanks [Crowdin](https://crowdin.com/project/gogs) for providing open source translation plan.
  91. - Thanks [DigitalOcean](https://www.digitalocean.com) for hosting home and demo sites.
  92. - Thanks [KeyCDN](https://www.keycdn.com/) and [QiNiu](http://www.qiniu.com/) for providing CDN service.
  93. ## 贡献流程
  94. Fork -> Patch -> Push -> Pull Request
  95. ## 作者
  96. * [Maintainers](https://github.com/orgs/go-gitea/people)
  97. * [Contributors](https://github.com/go-gitea/gitea/graphs/contributors)
  98. * [Translators](conf/locale/TRANSLATORS)
  99. ## 授权许可
  100. 本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/go-gitea/gitea/blob/master/LICENSE) 文件中。