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