====== 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 Options +ExecCGI AddHandler cgi-script .cgi DirectoryIndex gitweb.cgi # 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