Showing 3 changed files with 61 additions and 31 deletions
-31
README
... ...
@@ -1,31 +0,0 @@
1
-gitprep
2
-
3
-  Github clone. Serve git repository.
4
-
5
-Features
6
-
7
-  - Github clone
8
-  - Perl 5.8.7+ only needed
9
-
10
-Installation
11
-
12
-  perl cpanm -L extlib --installdeps .
13
-
14
-Operation
15
-
16
-  Start
17
-  
18
-      ./gitprep
19
-  
20
-    Application start in back ground. Port is 10020.
21
-    You can access the following URL.
22
-      
23
-      http://localhost:10020
24
-    
25
-    If you change port, edit githublite.conf.
26
-  
27
-  Stop
28
-  
29
-      ./gitprep --stop
30
-    
31
-    You can stop application by --stop option.
+60
README.md
... ...
@@ -0,0 +1,60 @@
1
+# GitPrep
2
+
3
+Github clone. you can install portable github system into unix/linux.
4
+
5
+# Features
6
+
7
+* Github clone
8
+* Perl 5.8.7+ only needed
9
+
10
+# Unix/Linux
11
+
12
+## Create gitprep user
13
+
14
+    useradd gitprep
15
+    su - gitprep
16
+    cd ~
17
+
18
+## Donload
19
+
20
+Donload zip or tar.gz archive and exapand it and change directory. 
21
+
22
+## Setup
23
+
24
+You execute the following command. Needed moudles is installed.
25
+
26
+    perl cpanm -L extlib --installdeps .
27
+
28
+## Operation
29
+
30
+### Start
31
+
32
+You can start application start.
33
+Application is run in background, port is **10020** by default.
34
+
35
+    ./gitprep
36
+
37
+You can access the following URL.
38
+      
39
+    http://localhost:10020
40
+    
41
+If you change port, edit gitprep.conf.
42
+
43
+### Stop
44
+
45
+You can stop application by **--stop** option.
46
+
47
+    ./gitprep --stop
48
+
49
+## Operation by root user
50
+
51
+If you want to do operation by root user,
52
+you must do some works for security.
53
+
54
+You add **user** and **group** to **hypnotoad** section in **gitprep.conf**.
55
+
56
+  [hypnotoad]
57
+  user=gitprep
58
+  group=gitprep
59
+
60
+
+1
cpanfile
... ...
@@ -5,3 +5,4 @@ requires 'DBIx::Custom', '== 0.28';
5 5
 requires 'Mojolicious::Plugin::INIConfig', '== 0.02';
6 6
 requires 'Mojolicious', '== 3.91';
7 7
 requires 'Config::Tiny', '== 2.14';
8
+requires 'Time::HiRes', '== 1.9725';