ユーザ用ツール

サイト用ツール


git:gitweb

gitweb

theme

GitHub風のデザイン
http://kogakure.github.com/gitweb-theme/

Install

# yum -y install gitweb
# cd /usr/share/gitweb
# view /etc/httpd/conf.d/git.conf
Alias /git /usr/share/gitweb

<Directory /usr/share/gitweb>
    Options +ExecCGI
    AddHandler cgi-script .cgi
    DirectoryIndex gitweb.cgi
</Directory>
# cd /usr/share/gitweb
# git clone git://github.com/kogakure/gitweb-theme
# vi /etc/gitweb.conf
-) #our $projectroot = "/var/lib/git";
+) our $projectroot = "/var/tmp";
+) # URI of stylesheets
+) our @stylesheets = ("gitweb-theme/gitweb.css");
+) # URI of a single stylesheet, which can be overridden in GITWEB_CONFIG.
+) our $stylesheet = undef;
+) # URI of GIT logo (72x27 size)
+) our $logo = "gitweb-theme/git-logo.png";
+) # URI of GIT favicon, assumed to be image/png type
+) our $favicon = "gitweb-theme/git-favicon.png";
+) # URI of gitweb.js (JavaScript code for gitweb)
+) our $javascript = "gitweb-theme/gitweb.js";
# /etc/init.d/httpd reload
git/gitweb.txt · 最終更新: 2013/02/13 07:54 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki