... | ... |
@@ -11,8 +11,9 @@ See GitPrep example site. [GitPrep example site](http://perlcodesample.sakura.ne |
11 | 11 |
* Github clone: GitPrep has the same interface as GitHub. |
12 | 12 |
* Portable: You can install GitPrep on your own Unix/Linux server. |
13 | 13 |
* Only needs Perl 5.10.1+. |
14 |
-* Smart HTTP support: you can pull and push via HTTP |
|
15 |
-* Built-in web server, and reverse proxy support, CGI support. |
|
14 |
+* Smart HTTP support: you can pull and push via HTTP. |
|
15 |
+* Built-in web server, and reverse proxy support. |
|
16 |
+* CGI support. |
|
16 | 17 |
* SSL support. |
17 | 18 |
|
18 | 19 |
## Check Perl Version |
... | ... |
@@ -25,11 +26,9 @@ Check Perl version. You can use GitPrep if the Perl version is 5.10.1+; |
25 | 26 |
|
26 | 27 |
git --version |
27 | 28 |
|
28 |
-## A. Installation when you run GitPrep as embdded web server |
|
29 |
+## A. Run GitPrep by embdded web server |
|
29 | 30 |
|
30 |
-GitPrep has its own web server, |
|
31 |
-so you can start using the application very easily. |
|
32 |
-In this way, performance is much better than CGI. |
|
31 |
+GitPrep has its own web server. You can start GitPrep easily. |
|
33 | 32 |
|
34 | 33 |
### Create gitprep user |
35 | 34 |
|
... | ... |
@@ -102,39 +101,25 @@ You can stop the application by adding the **--stop** option. |
102 | 101 |
|
103 | 102 |
./gitprep --stop |
104 | 103 |
|
105 |
-## B. Installation when you run GitPrep as CGI script |
|
104 |
+## B. Run GitPrep as CGI script |
|
105 |
+ |
|
106 |
+You can run GitPrep as CGI script as the following site. |
|
107 |
+ |
|
108 |
+[GitPrep example site](http://perlcodesample.sakura.ne.jp/gitprep/gitprep.cgi/kimoto/gitprep) |
|
109 |
+ |
|
110 |
+This is shared server. I assume you can connect the server via SSH and login your own user. |
|
111 |
+ |
|
112 |
+Installation process is same as above except for create user. |
|
106 | 113 |
|
107 |
-Installation process is same as above. |
|
108 | 114 |
If you finish installation, You can access the following URL. |
109 | 115 |
|
110 | 116 |
http://yourhost/somepath/gitprep/gitprep.cgi |
111 | 117 |
|
112 |
-I recommend SuExec environment for CGI. |
|
113 |
- |
|
114 | 118 |
### If you see Internal Server Error |
115 | 119 |
|
116 | 120 |
If you see an internal server error, look at the log file (gitprep/log/production.log) |
117 | 121 |
to see what problem has occurred. |
118 | 122 |
|
119 |
-### Additional work when you don't run CGI script by your user. |
|
120 |
- |
|
121 |
-If CGI script isn't run by your user, you need the following work. |
|
122 |
-For example, CGI script is run by apache user. |
|
123 |
- |
|
124 |
-Change user and group of all files in gitprep directory to apache |
|
125 |
- |
|
126 |
- chown -R apache:apache gitprep |
|
127 |
- |
|
128 |
-In this case, you server need to execute CGI. |
|
129 |
-Check apache config file. |
|
130 |
- |
|
131 |
-For example, you need the following config. |
|
132 |
- |
|
133 |
- <Directory /var/www/html> |
|
134 |
- Options +ExecCGI |
|
135 |
- AddHandler cgi-script .cgi |
|
136 |
- </Directory> |
|
137 |
- |
|
138 | 123 |
## FAQ |
139 | 124 |
|
140 | 125 |
## Can't find git command from GitPrep |
... | ... |
@@ -431,12 +416,7 @@ If you install perl 5.10.1+ by perlbrew, you can install latest GitPrep. |
431 | 416 |
|
432 | 417 |
### I know information about GitPrep 2.0 upgrading. |
433 | 418 |
|
434 |
-You can upgrade GitPrep 2.0 the following command. |
|
435 |
- |
|
436 |
- ./setup_module |
|
437 |
- ./setup_database |
|
438 |
- |
|
439 |
-And you should know the following small changes. |
|
419 |
+You should know the following small changes. |
|
440 | 420 |
|
441 | 421 |
**1. X-Forwarded-HTTPS header is deprecated. use X-Forwarded-Proto header.** |
442 | 422 |
|
... | ... |
@@ -535,7 +515,7 @@ If you want new features, please post the request to this mailing list. |
535 | 515 |
|
536 | 516 |
## Copyright & license |
537 | 517 |
|
538 |
-Copyright 2012-2014 Yuki Kimoto. All rights reserved. |
|
518 |
+Copyright 2012-2016 Yuki Kimoto. All rights reserved. |
|
539 | 519 |
|
540 | 520 |
This program is free software; you can redistribute it and/or modify it |
541 | 521 |
under the same terms as Perl itself. |