gitlabhq/grack

View on GitHub
examples/dispatch.fcgi

Summary

Maintainability
Test Coverage
#! /usr/bin/env ruby
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
require 'lib/git_http'
config = {
  :project_root => "/opt",
  :upload_pack => true,
  :receive_pack => false,
}
Rack::Handler::FastCGI.run(GitHttp::App.new(config))