... | ... |
@@ -16,16 +16,6 @@ See GitPrep example site. [GitPrep example site](http://perlcodesample.sakura.ne |
16 | 16 |
* CGI support. |
17 | 17 |
* SSL support. |
18 | 18 |
|
19 |
-## Check Perl Version |
|
20 |
- |
|
21 |
-Check Perl version. You can use GitPrep if the Perl version is 5.10.1+; |
|
22 |
- |
|
23 |
- perl -v |
|
24 |
- |
|
25 |
-### Checki git command existance |
|
26 |
- |
|
27 |
- git --version |
|
28 |
- |
|
29 | 19 |
## A. Run GitPrep by embdded web server |
30 | 20 |
|
31 | 21 |
GitPrep has its own web server. You can start GitPrep easily. |
... | ... |
@@ -38,6 +28,26 @@ Create a **gitprep** user. This is not necessary, but recommended: |
38 | 28 |
su - gitprep |
39 | 29 |
cd ~ |
40 | 30 |
|
31 |
+### Check git command existance |
|
32 |
+ |
|
33 |
+ git --version |
|
34 |
+ |
|
35 |
+## Check Perl Version |
|
36 |
+ |
|
37 |
+Check Perl version. You can use GitPrep if the Perl version is 5.10.1+; |
|
38 |
+ |
|
39 |
+ perl -v |
|
40 |
+ |
|
41 |
+If your don't have Perl 5.10.1+, you need to install newer perl by perlbrew. |
|
42 |
+ |
|
43 |
+ curl -L http://install.perlbrew.pl | bash |
|
44 |
+ echo "source ~/perl5/perlbrew/etc/bashrc" >> ~/.bash_profile |
|
45 |
+ source ~/.bash_profile |
|
46 |
+ |
|
47 |
+ perlbrew install perl-5.16.3 |
|
48 |
+ perlbrew switch perl-5.16.3 |
|
49 |
+ perl -v |
|
50 |
+ |
|
41 | 51 |
Download tar.gz archive, expand it and change directory: |
42 | 52 |
|
43 | 53 |
curl -kL https://github.com/yuki-kimoto/gitprep/archive/latest.tar.gz > gitprep-latest.tar.gz |