1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/README.md

143 lines
8.2 KiB
Markdown
Raw Normal View History

# Gitea - Git with a cup of tea
[![Build Status](https://travis-ci.org/go-gitea/gitea.svg?branch=master)](https://travis-ci.org/go-gitea/gitea)
[![codecov](https://codecov.io/gh/go-gitea/gitea/branch/master/graph/badge.svg)](https://codecov.io/gh/go-gitea/gitea)
[![Go Report Card](https://goreportcard.com/badge/github.com/go-gitea/gitea)](https://goreportcard.com/report/github.com/go-gitea/gitea)
[![GoDoc](https://godoc.org/github.com/go-gitea/gitea?status.svg)](https://godoc.org/github.com/go-gitea/gitea)
[![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](http://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
[![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)
2014-03-26 12:31:01 -04:00
![](https://github.com/go-gitea/gitea/blob/master/public/img/gogs-large-resize.png?raw=true)
2014-03-15 10:29:18 -04:00
##### Current tip version: 0.9.99 (see [Releases](https://github.com/go-gitea/gitea/releases) for binary versions or submit a task on [alpha stage automated binary building system](https://build.gogs.io/))
2014-03-13 02:55:14 -04:00
2015-12-05 13:50:43 -05:00
| Web | UI | Preview |
|:-------------:|:-------:|:-------:|
|![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)|
|![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)|
|![Issues](https://gogs.io/img/screenshots/7.png)|![Releases](https://gogs.io/img/screenshots/8.png)|![Organization](https://gogs.io/img/screenshots/9.png)|
2015-08-15 13:41:11 -04:00
2016-02-27 11:31:24 -05:00
### Important Notes
2014-04-12 22:30:00 -04:00
1. **YOU MUST READ [Contributing Code](https://github.com/go-gitea/gitea/wiki/Contributing-Code) BEFORE STARTING TO WORK ON A PULL REQUEST**.
2016-03-05 13:09:31 -05:00
2. Due to testing purpose, data of [try.gogs.io](https://try.gogs.io) was reset in **Jan 28, 2015** and will reset multiple times after. Please do **NOT** put your important data on the site.
3. The demo site [try.gogs.io](https://try.gogs.io) is running under `develop` branch.
4. If you think there are vulnerabilities in the project, please talk privately to **u@gogs.io**. Thanks!
5. If you're interested in using APIs, we have experimental support with [documentation](https://github.com/gogits/go-gogs-client/wiki).
6. If your team/company is using Gogs and would like to put your logo on [our website](https://gogs.io), contact us by any means.
2014-03-29 10:01:52 -04:00
2014-02-12 12:49:46 -05:00
## Purpose
2015-11-04 18:34:08 -05:00
The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across **ALL platforms** that Go supports, including Linux, Mac OS X, Windows and ARM.
2014-02-12 12:49:46 -05:00
2014-02-14 18:16:54 -05:00
## Overview
- Please see the [Documentation](https://gogs.io/docs/intro) for common usages and change log.
- See the [Trello Board](https://trello.com/b/uxAoeLUl/gogs-go-git-service) to follow the develop team.
2015-12-06 15:34:17 -05:00
- Want to try it before doing anything else? Do it [online](https://try.gogs.io/gogs/gogs)!
- Having trouble? Get help with [Troubleshooting](https://gogs.io/docs/intro/troubleshooting.html) or [User Forum](https://discuss.gogs.io/).
- Want to help with localization? Check out the [guide](https://gogs.io/docs/features/i18n.html)!
2014-02-14 18:16:54 -05:00
2014-03-11 19:25:50 -04:00
## Features
2014-03-16 02:28:24 -04:00
- Activity timeline
2015-10-25 03:30:16 -04:00
- SSH and HTTP/HTTPS protocols
- SMTP/LDAP/Reverse proxy authentication
- Reverse proxy with sub-path
- Account/Organization/Repository management
2016-08-15 05:12:18 -04:00
- Add/Remove repository collaborators
2015-10-25 03:30:16 -04:00
- Repository/Organization webhooks (including Slack)
2015-08-10 11:38:46 -04:00
- Repository Git hooks/deploy keys
2015-12-06 23:07:02 -05:00
- Repository issues, pull requests and wiki
2016-08-15 05:12:18 -04:00
- Migrate and mirror repository and its wiki
- Web editor for repository files and wiki
2016-08-07 14:01:47 -04:00
- Gravatar and Federated avatar with custom source
2015-08-10 11:38:46 -04:00
- Mail service
2014-05-15 23:03:26 -04:00
- Administration panel
2015-11-04 21:57:10 -05:00
- Supports MySQL, PostgreSQL, SQLite3 and [TiDB](https://github.com/pingcap/tidb) (experimental)
- Multi-language support ([19 languages](https://crowdin.com/project/gogs))
2014-03-11 19:25:50 -04:00
2014-04-26 03:22:22 -04:00
## System Requirements
- A cheap Raspberry Pi is powerful enough for basic functionality.
2015-11-07 20:20:51 -05:00
- 2 CPU cores and 1GB RAM would be the baseline for teamwork.
2014-04-26 03:22:22 -04:00
2015-07-07 01:51:28 -04:00
## Browser Support
- Please see [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) for specific versions of supported browsers.
- The official support minimal size is **1024*768**, UI may still looks right in smaller size but no promises and fixes.
2015-07-23 16:50:05 -04:00
2014-02-14 18:16:54 -05:00
## Installation
Make sure you install the [prerequisites](https://gogs.io/docs/installation) first.
2014-03-12 00:19:45 -04:00
2014-05-12 11:02:36 -04:00
There are 5 ways to install Gogs:
2014-02-14 18:16:54 -05:00
- [Install from binary](https://gogs.io/docs/installation/install_from_binary.html)
- [Install from source](https://gogs.io/docs/installation/install_from_source.html)
- [Install from packages](https://gogs.io/docs/installation/install_from_packages.html)
- [Ship with Docker](https://github.com/go-gitea/gitea/tree/master/docker)
2014-05-02 19:23:06 -04:00
- [Install with Vagrant](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
2014-02-14 18:16:54 -05:00
2015-08-07 13:12:14 -04:00
### Tutorials
- [How To Set Up Gogs on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-gogs-on-ubuntu-14-04)
2015-08-07 13:17:44 -04:00
- [Run your own GitHub-like service with the help of Docker](http://blog.hypriot.com/post/run-your-own-github-like-service-with-docker/)
2016-07-23 09:23:30 -04:00
- [Dockerized Gogs git server and alpine postgres in 20 minutes or less](http://garthwaite.org/docker-gogs.html)
- [Host Your Own Private GitHub with Gogs.io](https://eladnava.com/host-your-own-private-github-with-gogs-io/)
- [使用 Gogs 搭建自己的 Git 服务器](https://mynook.info/blog/post/host-your-own-git-server-using-gogs) (Chinese)
2015-08-07 13:17:44 -04:00
- [阿里云上 Ubuntu 14.04 64 位安装 Gogs](http://my.oschina.net/luyao/blog/375654) (Chinese)
- [Installing Gogs on FreeBSD](https://www.codejam.info/2015/03/installing-gogs-on-freebsd.html)
- [Gogs on Raspberry Pi](http://blog.meinside.pe.kr/Gogs-on-Raspberry-Pi/)
- [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/)
2015-08-07 13:12:14 -04:00
2015-08-07 12:29:50 -04:00
### Screencasts
2016-08-07 14:01:47 -04:00
- [How to install Gogs on a Linux Server (DigitalOcean)](https://www.youtube.com/watch?v=deSfX0gqefE)
- [Instalando Gogs no Ubuntu](https://www.youtube.com/watch?v=4UkHAR1F7ZA) (Português)
2015-08-07 12:29:50 -04:00
2015-09-12 09:21:09 -04:00
### Deploy to Cloud
- [OpenShift](https://github.com/tkisme/gogs-openshift)
2015-09-25 19:07:21 -04:00
- [Cloudron](https://cloudron.io/appstore.html#io.gogs.cloudronapp)
- [Scaleway](https://www.scaleway.com/imagehub/gogs/)
- [Portal](https://portaldemo.xyz/cloud/)
2015-10-29 03:21:59 -04:00
- [Sandstorm](https://github.com/cem/gogs-sandstorm)
2015-12-01 19:53:19 -05:00
- [sloppy.io](https://github.com/sloppyio/quickstarters/tree/master/gogs)
2016-02-05 10:19:37 -05:00
- [YunoHost](https://github.com/mbugeia/gogs_ynh)
- [DPlatform](https://github.com/j8r/DPlatform)
2015-10-29 03:21:59 -04:00
2015-12-05 13:50:43 -05:00
## Software and Service Support
- [Drone](https://github.com/drone/drone) (CI)
- [Fabric8](http://fabric8.io/) (DevOps)
- [Taiga](https://taiga.io/) (Project Management)
- [Puppet](https://forge.puppetlabs.com/Siteminds/gogs) (IT)
2016-01-14 01:28:07 -05:00
- [Kanboard](http://kanboard.net/plugin/gogs-webhook) (Project Management)
- [BearyChat](https://bearychat.com/) (Team Communication)
2016-03-13 17:37:44 -04:00
- [HiWork](http://www.hiwork.cc/) (Team Communication)
2015-12-05 13:50:43 -05:00
2015-10-29 03:21:59 -04:00
### Product Support
- [Synology](https://www.synology.com) (Docker)
- [One Space](http://www.onespace.cc) (App Store)
2015-09-12 09:21:09 -04:00
2014-02-12 12:49:46 -05:00
## Acknowledgments
2015-10-25 03:10:22 -04:00
- Router and middleware mechanism of [Macaron](https://github.com/go-macaron/macaron).
2014-03-22 17:59:22 -04:00
- System Monitor Status is inspired by [GoBlog](https://github.com/fuxiaohei/goblog).
2016-08-15 05:12:18 -04:00
- Thanks [Rocker](http://weibo.com/rocker1989) for designing Logo.
2014-11-17 17:19:17 -05:00
- Thanks [Crowdin](https://crowdin.com/project/gogs) for providing open source translation plan.
2015-11-05 14:40:22 -05:00
- Thanks [DigitalOcean](https://www.digitalocean.com) for hosting home and demo sites.
2016-07-23 07:22:43 -04:00
- Thanks [KeyCDN](https://www.keycdn.com/) and [QiNiu](http://www.qiniu.com/) for providing CDN service.
2014-02-12 12:49:46 -05:00
## Contributors
2015-10-25 03:30:16 -04:00
- Ex-team members [@lunny](https://github.com/lunny), [@fuxiaohei](https://github.com/fuxiaohei) and [@slene](https://github.com/slene).
- See [contributors page](https://github.com/go-gitea/gitea/graphs/contributors) for full list of contributors.
2015-09-04 05:54:22 -04:00
- See [TRANSLATORS](conf/locale/TRANSLATORS) for public list of translators.
## License
This project is under the MIT License. See the [LICENSE](https://github.com/go-gitea/gitea/blob/master/LICENSE) file for the full license text.