== Apache==
sudo vi i /etc/apache2/httpd.conf
uncomment
#LoadModule cgi_module libexec/apache2/mod_cgi.so
#AddHandler cgi-script .cgi
find
Options FollowSymLinks
change
Options FollowSymLinks +ExecCGI
find
Options Indexes FollowSymLinks MultiViews
change
Options Indexes FollowSymLinks MultiViews ExecCGI
sudo apachectl restart
== Install==
cd /Library/WebServer/Documents
curl -kL https://github.com/yuki-kimoto/gitprep/archive/latest.tar.gz > gitprep-latest.tar.gz
tar xf gitprep-latest.tar.gz
mv gitprep-latest gitprep
cd gitprep
./setup.sh
prove t
sudo chmod 777 data
== Config==
vi gitprep.conf
;;; from PATH enviroment variable or /usr/bin/git or /usr/local/bin/git
find
;git_bin=/usr/local/bin/git
change
git_bin=/usr/bin/git
Comments