【文件属性】:
文件名称:ginatra:Git存储库的Web前端
文件大小:97KB
文件格式:ZIP
更新时间:2021-02-02 16:06:34
git sinatra web-app web-application GitRuby
金纳特拉
Ginatra是基于Ruby Sinatra构建的基于Web的简单git存储库。
[| | ]
产品特点
简易安装
多仓库支持
多分支/标签支持
提交历史记录,差异,补丁
以Atom格式供稿
语法高亮
仓库统计
智能HTTP支持
安装
有两种安装Ginatra的方法:作为打包的Ruby gem或作为Sinatra应用程序。 建议您将其安装为Ruby,除非您知道自己在做什么。
金纳特拉宝石
运行以下命令从RubyGems安装Ginatra:
gem install ginatra -v 4.1.0
创建配置文件(请参阅自述文件中的“部分)。
启动Ginatra服务器:
ginatra run
默认情况下,Ginatra将在localhost:9797上运行
Ginatra应用
运行以下命令从源代码安装Ginatra:
git clone git://github.com/NARKOZ/ginatra.git
cd ginatra/
git checkout v4.1.0
bundle
创建配置文件或修改现有文件(请参阅自述文件中的“部分)。
启动Ginatr
【文件预览】:
ginatra-master
----.travis.yml(144B)
----bin()
--------ginatra(2KB)
----Rakefile(466B)
----CONTRIBUTING.md(1KB)
----Gemfile(39B)
----Gemfile.lock(2KB)
----views()
--------atom.erb(1KB)
--------commit.erb(3KB)
--------blob.erb(942B)
--------layout.erb(1KB)
--------stats.erb(3KB)
--------500.erb(479B)
--------log.erb(3KB)
--------_tree_nav.erb(2KB)
--------tree.erb(1003B)
--------404.erb(475B)
--------index.erb(857B)
--------empty_repo.erb(187B)
--------_header.erb(2KB)
--------_footer.erb(131B)
----config.yml(290B)
----repos()
--------README.md(475B)
----spec()
--------ginatra()
--------ginatra_spec.rb(3KB)
--------spec_helper.rb(369B)
----.gitignore(160B)
----CHANGELOG.md(762B)
----lib()
--------ginatra()
--------git()
--------sinatra()
--------ginatra.rb(9KB)
----public()
--------css()
--------img()
--------js()
--------favicon.ico(0B)
----README.md(3KB)
----config.ru(1KB)
----LICENSE.txt(1KB)
----ginatra.gemspec(1KB)