gogs/README_ZH.md

107 lines
5.1 KiB
Markdown
Raw Permalink Normal View History

2017-02-14 03:11:31 +03:00
Gogs [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](https://travis-ci.org/gogits/gogs) [![Build status](https://ci.appveyor.com/api/projects/status/b9uu5ejl933e2wlt/branch/master?svg=true)](https://ci.appveyor.com/project/Unknwon/gogs/branch/master)
2014-03-23 04:25:39 +04:00
=====================
2017-02-16 06:29:31 +03:00
Gogs 是一款极易搭建的自助 Git 服务。
2014-03-23 04:25:39 +04:00
## 开发目的
2015-11-05 02:34:08 +03:00
Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自助 Git 服务。使用 Go 语言开发使得 Gogs 能够通过独立的二进制分发,并且支持 Go 语言支持的 **所有平台**,包括 Linux、Mac OS X、Windows 以及 ARM 平台。
2014-03-23 04:25:39 +04:00
## 项目概览
2017-03-31 21:13:25 +03:00
- 有关基本用法和变更日志,请通过 [使用手册](https://gogs.io/docs/intro) 查看。
2015-12-12 22:47:11 +03:00
- 想要先睹为快?直接去 [在线体验](https://try.gogs.io/gogs/gogs) 。
- 使用过程中遇到问题?尝试从 [故障排查](https://gogs.io/docs/intro/troubleshooting.html) 页面或 [用户论坛](https://discuss.gogs.io/) 获取帮助。
- 希望帮助多国语言界面的翻译吗?请立即访问 [详情页面](https://gogs.io/docs/features/i18n.html)
2014-03-23 04:25:39 +04:00
## 功能特性
2015-08-10 18:38:46 +03:00
- 支持活动时间线
2015-10-25 10:30:16 +03:00
- 支持 SSH 以及 HTTP/HTTPS 协议
- 支持 SMTP、LDAP 和反向代理的用户认证
2014-10-11 05:40:51 +04:00
- 支持反向代理子路径
2015-08-10 18:38:46 +03:00
- 支持用户、组织和仓库管理系统
2016-08-15 12:12:18 +03:00
- 支持添加和删除仓库协作者
- 支持仓库和组织级别 Web 钩子(包括 Slack 和 Discord 集成)
2015-08-10 18:38:46 +03:00
- 支持仓库 Git 钩子和部署密钥
- 支持仓库工单Issue、合并请求Pull Request、Wiki 和保护分支
2016-08-15 12:12:18 +03:00
- 支持迁移和镜像仓库以及它的 Wiki
- 支持在线编辑仓库文件和 Wiki
2016-08-07 21:01:47 +03:00
- 支持自定义源的 Gravatar 和 Federated Avatar
2017-02-13 00:13:30 +03:00
- 支持 Jupyter Notebook
- 支持两步验证登录
2015-08-10 18:38:46 +03:00
- 支持邮件服务
- 支持后台管理面板
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 [TiDB](https://github.com/pingcap/tidb)(通过 MySQL 协议)数据库
2017-02-18 23:00:11 +03:00
- 支持多语言本地化([23 种语言]([more](https://crowdin.com/project/gogs))
2014-03-23 04:25:39 +04:00
2017-02-19 22:42:06 +03:00
## 硬件要求
2014-04-26 11:22:22 +04:00
- 最低的系统硬件要求为一个廉价的树莓派
2017-02-19 22:42:06 +03:00
- 如果用于团队项目管理,建议使用 2 核 CPU 及 512MB 内存
- 当团队成员大量增加时,可以考虑添加 CPU 核数,内存占用保持不变
2014-04-26 11:22:22 +04:00
2015-07-07 08:51:28 +03:00
## 浏览器支持
- 请根据 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) 查看具体支持的浏览器版本。
- 官方支持的最小 UI 尺寸为 **1024*768**UI 不一定会在更小尺寸的设备上被破坏,但我们无法保证且不会修复。
2015-07-23 23:50:05 +03:00
2014-03-23 04:25:39 +04:00
## 安装部署
在安装 Gogs 之前,您需要先安装 [基本环境](https://gogs.io/docs/installation)。
2014-03-23 04:25:39 +04:00
2014-05-12 19:02:36 +04:00
然后,您可以通过以下 5 种方式来安装 Gogs
2014-03-23 04:25:39 +04:00
- [二进制安装](https://gogs.io/docs/installation/install_from_binary.html)
- [源码安装](https://gogs.io/docs/installation/install_from_source.html)
- [包管理安装](https://gogs.io/docs/installation/install_from_packages.html)
2014-09-06 01:28:09 +04:00
- [采用 Docker 部署](https://github.com/gogits/gogs/tree/master/docker)
2014-05-03 03:23:06 +04:00
- [通过 Vagrant 安装](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
2014-03-23 04:25:39 +04:00
2015-10-29 10:21:59 +03:00
### 使用教程
- [使用 Gogs 搭建自己的 Git 服务器](https://mynook.info/blog/post/host-your-own-git-server-using-gogs)
2015-10-29 10:21:59 +03:00
- [阿里云上 Ubuntu 14.04 64 位安装 Gogs](http://my.oschina.net/luyao/blog/375654)
### 云端部署
- [OpenShift](https://github.com/tkisme/gogs-openshift)
- [Cloudron](https://cloudron.io/appstore.html#io.gogs.cloudronapp)
- [Scaleway](https://www.scaleway.com/imagehub/gogs/)
- [Sandstorm](https://github.com/cem/gogs-sandstorm)
2015-12-02 03:53:19 +03:00
- [sloppy.io](https://github.com/sloppyio/quickstarters/tree/master/gogs)
2016-02-05 18:19:37 +03:00
- [YunoHost](https://github.com/mbugeia/gogs_ynh)
- [DPlatform](https://github.com/j8r/DPlatform)
2015-10-29 10:21:59 +03:00
2015-12-05 21:50:43 +03:00
## 软件及服务支持
- [Drone](https://github.com/drone/drone)CI
2017-02-13 00:13:30 +03:00
- [Jenkins](https://wiki.jenkins-ci.org/display/JENKINS/Gogs+Webhook+Plugin)CI
2015-12-05 21:50:43 +03:00
- [Fabric8](http://fabric8.io/)DevOps
- [Taiga](https://taiga.io/)(项目管理)
- [Puppet](https://forge.puppetlabs.com/Siteminds/gogs)IT
2016-01-14 09:28:07 +03:00
- [Kanboard](http://kanboard.net/plugin/gogs-webhook)(项目管理)
- [BearyChat](https://bearychat.com/)(团队交流)
2016-03-14 00:37:44 +03:00
- [HiWork](http://www.hiwork.cc/)(团队交流)
2015-12-05 21:50:43 +03:00
2015-10-29 10:21:59 +03:00
### 产品支持
- [Synology](https://www.synology.com)Docker
- [One Space](http://www.onespace.cc)(应用商店)
2014-03-23 04:25:39 +04:00
## 特别鸣谢
2017-02-14 03:11:31 +03:00
- 感谢 [Egon Elbre](https://twitter.com/egonelbre) 设计的 Logo。
2014-10-19 07:26:55 +04:00
- 感谢 [Crowdin](https://crowdin.com/project/gogs) 提供免费的开源项目本地化支持。
2015-11-05 22:40:22 +03:00
- 感谢 [DigitalOcean](https://www.digitalocean.com) 提供主站和体验站点的服务器赞助。
2016-07-23 14:22:43 +03:00
- 感谢 [KeyCDN](https://www.keycdn.com/) 和 [七牛云存储](http://www.qiniu.com/) 提供 CDN 服务赞助。
2014-03-23 04:25:39 +04:00
## 贡献成员
2017-02-26 05:21:12 +03:00
- 您可以通过查看 [贡献者页面](https://github.com/gogits/gogs/graphs/contributors) 获取 TOP 100 的贡献者列表。
2015-09-04 12:54:22 +03:00
- 您可以通过查看 [TRANSLATORS](conf/locale/TRANSLATORS) 文件获取公开的翻译人员列表。
2014-03-27 20:48:29 +04:00
## 授权许可
本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/gogits/gogs/blob/master/LICENSE) 文件中。