Gogs

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(安装)
 
(未显示1个用户的11个中间版本)
第1行: 第1行:
 
Gogs (Go Git Service) 是一款极易搭建的自助 [[Git]] 服务。
 
Gogs (Go Git Service) 是一款极易搭建的自助 [[Git]] 服务。
  
它是 [[Gitlab]] 的替代产品,[[Go]] 语言编写,MIT许可协议。
+
==简介==
 +
Gogs 是 [[Gitlab]] 的替代产品,[[Go]] 语言编写,MIT许可协议。
  
 
因为使用 Go 语言开发使得 Gogs 能够通过独立的二进制分发。
 
因为使用 Go 语言开发使得 Gogs 能够通过独立的二进制分发。
  
==安装==
+
==功能==
二进制安装
+
[横向对比 Gitea 与其它 Git 托管工具 gogs vs gitea vs gitlab] 横向对比 Gitea 与其它 Git 托管工具
 +
 
 +
==指南==
 +
===二进制安装===
 
  下载[https://gogs.io/docs/installation/install_from_binary 二进制压缩包]
 
  下载[https://gogs.io/docs/installation/install_from_binary 二进制压缩包]
 
  cd gogs
 
  cd gogs
第13行: 第17行:
 
当用户注册时 ID = 1 则会自动成为管理员,无需邮箱验证。
 
当用户注册时 ID = 1 则会自动成为管理员,无需邮箱验证。
  
==指南==
+
===PostgreSQL===
 +
 
 +
===Nginx===
 +
server {
 +
    listen 80;
 +
    server_name code.huihoo.com;
 +
    location / {
 +
        proxy_pass http://localhost:3000;
 +
    }
 +
}
 +
*[https://gogs.io/docs/intro/faqs 更多细节]
 +
 
 +
==开源组件==
 +
===Web框架===
 +
*[http://go-macaron.com/ Macaron]
 +
 
 +
===UI组件===
 +
*[http://www.semantic-ui.cn/ Semantic UI]
 +
*[https://octicons.github.com/ GitHub Octicons]
 +
*[http://fontawesome.io/ Font Awesome]
 +
 
 +
===前端插件===
 +
*[http://www.dropzonejs.com/ DropzoneJS]
 +
*[https://highlightjs.org/ highlight.js]
 +
*[https://zenorocha.github.io/clipboard.js/ clipboard.js]
 +
*[https://github.com/Ranks/emojify.js emojify.js]
 +
*[https://github.com/xdan/datetimepicker jQuery Date Time Picker]
 +
*[https://github.com/claviska/jquery-minicolors jQuery MiniColors]
 +
 
 +
===ORM===
 +
*[https://github.com/go-xorm/xorm Xorm]
 +
 
 +
===数据库驱动===
 +
*[https://github.com/go-sql-driver/mysql MySQL]
 +
*[https://github.com/lib/pq github.com/lib/pq PostgreSQL]
 +
*[https://github.com/mattn/go-sqlite3 sqlite3]
  
 
==GitLab==
 
==GitLab==
GitLab to Gogs
+
* [[Gitlab]] 到 gogs 的迁移: [[gitlab to gogs]]
 +
* [https://segmentfault.com/a/1190000002605142 Gogs:可能是比Gitlab更好的选择]
 +
 
 +
==OpenShift==
 +
在[[OpenShift]]部署运行gogs
 +
*[https://github.com/tkisme/gogs-openshift gogs run on openshift]
 +
 
 +
==Pubbet==
 +
puppet module install Siteminds-gogs
 +
[https://forge.puppetlabs.com/Siteminds/gogs Puppet module to manage the Go Git Service (Gogs)]
 +
 
 +
==Vim==
 +
*[https://github.com/fatih/vim-go vim-go]
 +
 
 +
==分支==
 +
*[https://github.com/go-gitea/gitea Gitea]
 +
 
 +
==用户==
  
 
==图集==
 
==图集==
 +
<gallery>
 +
image:gogs-admin.png|控制面板
 +
image:gogs-repo.png|仓库
 +
</gallery>
  
 
==链接==
 
==链接==
第27行: 第87行:
 
[[category:go]]
 
[[category:go]]
 
[[category:git]]
 
[[category:git]]
 +
[[category:huihoo]]

2020年12月30日 (三) 02:06的最后版本

Gogs (Go Git Service) 是一款极易搭建的自助 Git 服务。

目录

[编辑] 简介

Gogs 是 Gitlab 的替代产品,Go 语言编写,MIT许可协议。

因为使用 Go 语言开发使得 Gogs 能够通过独立的二进制分发。

[编辑] 功能

[横向对比 Gitea 与其它 Git 托管工具 gogs vs gitea vs gitlab] 横向对比 Gitea 与其它 Git 托管工具

[编辑] 指南

[编辑] 二进制安装

下载二进制压缩包
cd gogs
./gogs web
http://0.0.0.0:3000

当用户注册时 ID = 1 则会自动成为管理员,无需邮箱验证。

[编辑] PostgreSQL

[编辑] Nginx

server {
    listen 80;
    server_name code.huihoo.com;
    location / {
        proxy_pass http://localhost:3000;
    }
}

[编辑] 开源组件

[编辑] Web框架

[编辑] UI组件

[编辑] 前端插件

[编辑] ORM

[编辑] 数据库驱动

[编辑] GitLab

[编辑] OpenShift

OpenShift部署运行gogs

[编辑] Pubbet

puppet module install Siteminds-gogs

Puppet module to manage the Go Git Service (Gogs)

[编辑] Vim

[编辑] 分支

[编辑] 用户

[编辑] 图集

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱