gitprep / README.md /
Newer Older
548 lines | 15.583kb
improved README
Yuki Kimoto authored on 2013-03-29
1
# GitPrep
2

            
Update README.md
Matthew Musgrove authored on 2013-07-22
3
Github clone. You can install portable github system into Unix/Linux.
improved README
Yuki Kimoto authored on 2013-03-29
4

            
add exmplae site link
Yuki Kimoto authored on 2016-02-12
5
See GitPrep example site. [GitPrep example site](http://perlcodesample.sakura.ne.jp/gitprep/gitprep.cgi/kimoto/gitprep)
6

            
add title to img tag
Yuki Kimoto authored on 2015-11-12
7
![GitPrep Image](gitprep_image.png "Gitprep image example")
add gitprep image to reposit...
Yuki Kimoto authored on 2015-11-12
8

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
9
## Features
improved README
Yuki Kimoto authored on 2013-03-29
10

            
Update README.md
John Olinda authored on 2014-05-21
11
* Github clone: GitPrep has the same interface as GitHub.
12
* Portable: You can install GitPrep on your own Unix/Linux server.
13
* Supports Windows installation via cygwin for Windows (need gcc4 package).
do success xt tests
Yuki Kimoto authored on 2016-03-25
14
* Only needs Perl 5.10.1+.
Update README.md
John Olinda authored on 2014-05-21
15
* Smart HTTP support: you can pull and push via HTTP
16
* CGI support, built-in web server, and reverse proxy support.
improve readme
Yuki Kimoto authored on 2013-08-28
17
* SSL support.
improved README
Yuki Kimoto authored on 2013-03-29
18

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
19
## Check Perl Version
improved README
Yuki Kimoto authored on 2013-03-29
20

            
do success xt tests
Yuki Kimoto authored on 2016-03-25
21
Check Perl version. You can use GitPrep if the Perl version is 5.10.1+;
improved README
Yuki Kimoto authored on 2013-03-29
22

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
23
    perl -v
improved install process
Yuki Kimoto authored on 2013-04-09
24

            
imrpove readme
Yuki Kimoto authored on 2015-06-27
25
### Checki git command existance
improved README
Yuki Kimoto authored on 2013-03-29
26

            
imrpove readme
Yuki Kimoto authored on 2015-06-27
27
    git --version
28
    
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
29
## A. Installation when you run GitPrep as CGI script
Fix typos in README
Daniel Knittl-Frank authored on 2013-07-07
30

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
31
Download tar.gz archive, expand it and change directory:
improved install process
Yuki Kimoto authored on 2013-04-09
32

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
33
    curl -kL https://github.com/yuki-kimoto/gitprep/archive/latest.tar.gz > gitprep-latest.tar.gz
34
    tar xf gitprep-latest.tar.gz
35
    mv gitprep-latest gitprep
36
    cd gitprep
improved install process
Yuki Kimoto authored on 2013-04-09
37

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
38
Setup. Needed module is installed.
improved install process
Yuki Kimoto authored on 2013-04-09
39

            
separete database creating l...
Yuki Kimoto authored on 2016-04-06
40
    ./setup_module
41

            
42
Setup database.
43

            
44
    ./setup_database
improved install process
Yuki Kimoto authored on 2013-04-09
45

            
imrpove readme
Yuki Kimoto authored on 2015-06-27
46
If you install git in your local directry,
47
you must add the correct git command path to the **gitprep.conf** config file.
48

            
49
    [basic]
50
    ;;; Git command path
51
    git_bin=/home/yourname/local/bin/git
52

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
53
Check setup. Run the following command.
improve document
Yuki Kimoto authored on 2015-01-17
54

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
55
    prove t
improve document
Yuki Kimoto authored on 2015-01-17
56

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
57
If "syntax OK" is displayed, setup is sucseed.
improve document
Yuki Kimoto authored on 2015-01-17
58

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
59
You can access the following URL.
improve document
Yuki Kimoto authored on 2015-01-17
60

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
61
    http://yourhost/somepath/gitprep/gitprep.cgi
improve document
Yuki Kimoto authored on 2015-01-17
62

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
63
### If you see Internal Server Error
improve document
Yuki Kimoto authored on 2015-01-17
64

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
65
If you see an internal server error, look at the log file (gitprep/log/production.log)
66
to see what problem has occurred.
improve document
Yuki Kimoto authored on 2015-01-17
67

            
improve readme
Yuki Kimoto authored on 2015-06-27
68
### Additional work when you don't run CGI script by your user.
improve document
Yuki Kimoto authored on 2015-01-17
69

            
improve readme
Yuki Kimoto authored on 2015-06-27
70
If CGI script isn't run by your user, you need the following work.
71
For example, CGI script is run by apache user.
improve document
Yuki Kimoto authored on 2015-01-17
72

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
73
Change user and group of all files in gitprep directory to apache 
improve document
Yuki Kimoto authored on 2015-01-17
74

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
75
    chown -R apache:apache gitprep
improve document
Yuki Kimoto authored on 2015-01-17
76

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
77
In this case, you server need to execute CGI.
78
Check apache config file.
improve document
Yuki Kimoto authored on 2015-01-17
79

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
80
For example, you need the following config.
improve document
Yuki Kimoto authored on 2015-01-17
81

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
82
    <Directory /var/www/html>
83
        Options +ExecCGI
84
        AddHandler cgi-script .cgi
85
    </Directory>
improve document
Yuki Kimoto authored on 2015-01-17
86

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
87
## B. Installation when you run GitPrep as embdded web server
improve document
Yuki Kimoto authored on 2015-01-17
88

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
89
GitPrep has its own web server,
90
so you can start using the application very easily.
91
In this way, performance is much better than CGI.
improve document
Yuki Kimoto authored on 2015-01-17
92

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
93
### Create gitprep user
improve document
Yuki Kimoto authored on 2015-01-17
94

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
95
Create a **gitprep** user. This is not necessary, but recommended:
improve document
Yuki Kimoto authored on 2015-01-17
96

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
97
    useradd gitprep
98
    su - gitprep
99
    cd ~
improve document
Yuki Kimoto authored on 2015-01-17
100

            
imrpove readme
Yuki Kimoto authored on 2015-06-27
101
And config global git config
102

            
103
    git config --global user.name "gitprep"
104
    git config --global user.email "gitprep@example.com"
105

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
106
### Download
improve document
Yuki Kimoto authored on 2015-01-17
107

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
108
Download tar.gz archive, expand it and change directory:
improve document
Yuki Kimoto authored on 2015-01-17
109

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
110
    curl -kL https://github.com/yuki-kimoto/gitprep/archive/latest.tar.gz > gitprep-latest.tar.gz
111
    tar xf gitprep-latest.tar.gz
112
    mv gitprep-latest gitprep
113
    cd gitprep
improve document
Yuki Kimoto authored on 2015-01-17
114

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
115
Setup. Needed module is installed.
improve document
Yuki Kimoto authored on 2015-01-17
116

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
117
    ./setup.sh
improve document
Yuki Kimoto authored on 2015-01-17
118

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
119
Check setup. Run the following command.
improve document
Yuki Kimoto authored on 2015-01-17
120

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
121
    prove t
improve document
Yuki Kimoto authored on 2015-01-17
122

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
123
If "syntax OK" is displayed, setup is sucseed.
improve document
Yuki Kimoto authored on 2015-01-17
124

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
125
### Start
improve document
Yuki Kimoto authored on 2015-01-17
126

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
127
You can start the application by running the provided gitprep script.
128
The application is run in the background and the port is **10020** by default.
improve document
Yuki Kimoto authored on 2015-01-17
129

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
130
    ./gitprep
improve document
Yuki Kimoto authored on 2015-01-17
131

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
132
Then access the following URL.
improve document
Yuki Kimoto authored on 2015-01-17
133

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
134
    http://localhost:10020
improve document
Yuki Kimoto authored on 2015-01-17
135

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
136
If you want to change the port, edit gitprep.conf.
137
If you cannot access this port, you might change the firewall settings.
improve document
Yuki Kimoto authored on 2015-01-17
138

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
139
### Stop
improve document
Yuki Kimoto authored on 2015-01-17
140

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
141
You can stop the application by adding the **--stop** option.
improve document
Yuki Kimoto authored on 2015-01-17
142

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
143
    ./gitprep --stop
improve document
Yuki Kimoto authored on 2015-01-17
144

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
145
## FAQ
add faq
Yuki Kimoto authored on 2013-09-04
146

            
Spelling fix.
Tristan B. Kildaire authored on 2015-10-04
147
## Can't find git command from GitPrep
imrpove readme
Yuki Kimoto authored on 2015-06-27
148

            
improve readme
Yuki Kimoto authored on 2015-11-05
149
If you install git into your local directry,
150
you must add the correct git command path to the config file **gitprep.conf** .
imrpove readme
Yuki Kimoto authored on 2015-06-27
151

            
152
    [basic]
153
    ;;; Git command path
154
    git_bin=/home/yourname/local/bin/git
155

            
add faq
Yuki Kimoto authored on 2013-09-04
156
### blame don't work
157

            
158
In Gitprep, blame page use "git blame --line-porcelain". In old git, there is no --line-porcelain option.
improve readme
Yuki Kimoto authored on 2013-10-08
159
We don't know when --line-porcelain was added to git.
add faq
Yuki Kimoto authored on 2013-09-04
160
At least, blame page work well in git 1.8.2.1.
161

            
162
### How to upgrade GitPrep
163

            
add a little info to reduce ...
Sven Dowideit authored on 2013-11-23
164
It is very easy. you only overwrite all files except for "gitprep.conf".
add faq
Yuki Kimoto authored on 2013-09-04
165

            
166
If you want to upgrade by "git pull", you can do it.
167
you create "gitprep.my.conf" copied from "gitprep.my.conf",
168
and do "git pull"
169

            
add a little info to reduce ...
Sven Dowideit authored on 2013-11-23
170
If you get a rainbow unicorn t-rex error after upgrading, you might be missing
improve readme
Yuki Kimoto authored on 2015-11-05
171
a new CPAN dependency. Run again "setup.sh".
add a little info to reduce ...
Sven Dowideit authored on 2013-11-23
172

            
improve pod
Yuki Kimoto authored on 2013-11-23
173
### I can't push large repository by http protocol
add FAQ large repository can...
Yuki Kimoto authored on 2013-10-07
174

            
improve faq of pushing lerge...
Yuki Kimoto authored on 2014-02-17
175
There are some reasons.
add FAQ large repository can...
Yuki Kimoto authored on 2013-10-07
176

            
fix readme
Yuki Kimoto authored on 2014-02-17
177
**1. Git version is old**
improve faq of pushing lerge...
Yuki Kimoto authored on 2014-02-17
178

            
179
If you see "error: RPC failed; result=56, HTTP code = 200" , your git maybe old.
180
Please upgrade to latest git. I checked git version 1.8.5.5.
181

            
182
**2. GitPrep restriction**
183

            
184
GitPrep restrict max post message size 10MB(This is default of Mojolicious)
185

            
186
You maybe see the following error
187

            
188
    Delta compression using up to 4 threads.
189
    Compressing objects: 100% (17830/17830), done.
190
    Writing objects: 100% (18281/18281), 687.05 MiB | 129.92 MiB/s, done.
191
    Total 18281 (delta 295), reused 18281 (delta 295)
192
    error: RPC failed; result=22, HTTP code = 413
193
    fatal: The remote end hung up unexpectedly
194
    fatal: The remote end hung up unexpectedly
195

            
196
Please increase increase the value of MOJO_MAX_MESSAGE_SIZE
197
    
198
    # 1GB
199
    export MOJO_MAX_MESSAGE_SIZE=1024000000
200

            
201
**3. git restriction**
202

            
203
git restrict post max size via http protocol.
204
http.postBuffer value of git config is maybe small.
205

            
206
You maybe see the following error message.
207

            
208
    error: RPC failed; result=56, HTTP code = 200
209
    fatal: The remote end hung up unexpectedly
210
    Counting objects: 18281, done.
211
    Delta compression using up to 4 threads.
212
    Compressing objects: 100% (17830/17830), done.
213
    Writing objects: 100% (18281/18281), 687.05 MiB | 133.23 MiB/s, done.
214
    Total 18281 (delta 295), reused 18281 (delta 295)
215
    fatal: The remote end hung up unexpectedly
216
    Everything up-to-date
217

            
218
Please increase the value of http.postBuffer.
219
    
220
    # 1GB
221
    git config http.postBuffer 1024000000
add FAQ large repository can...
Yuki Kimoto authored on 2013-10-07
222

            
fix pod
Yuki Kimoto authored on 2014-02-28
223
### How to use reverse proxy?
improve readme
Yuki Kimoto authored on 2014-02-26
224

            
225
You can use GitPrep via reverse proxy access
226

            
227
         ----------------------------     ------------
228
    ---->| Web Server(Reverse proxy)|---->|GitPrep   |
229
    <----| (Apache, etc)            |<----|          |
230
         ----------------------------     ------------
231

            
232
I show apache config example.
233
You can use Name virtual host.
234
    
235
    # HTTP
236
    <VirtualHost *:80>
237

            
238
      ServerName myhost.com
239
      <Proxy *>
240
        Order deny,allow
241
        Allow from all
242
      </Proxy>
243
      
244
      ProxyRequests Off
245
      ProxyPreserveHost On
246
      ProxyPass / http://localhost:10020/ keepalive=On
247
      ProxyPassReverse / http://localhost:10020/
X-Forwarded-HTTPS header is ...
Yuki Kimoto authored on 2016-03-28
248
      RequestHeader set X-Forwarded-Proto "https"
improve readme
Yuki Kimoto authored on 2014-02-26
249
        
250
    </VirtualHost>
251

            
252
If you use GitPrep vis https, you should set X-Forwarded-HTTPS Request Header.
253

            
254
    # HTTPS
255
    <VirtualHost *:443>
256

            
257
      ServerName myhost.com
258
      <Proxy *>
259
        Order deny,allow
260
        Allow from all
261
      </Proxy>
262
      
263
      ProxyRequests Off
264
      ProxyPreserveHost On
265
      ProxyPass / http://localhost:10020/ keepalive=On
266
      ProxyPassReverse / http://localhost:10020/
X-Forwarded-HTTPS header is ...
Yuki Kimoto authored on 2016-03-28
267
      RequestHeader set X-Forwarded-Proto "https"
improve readme
Yuki Kimoto authored on 2014-02-26
268
    </VirtualHost>
269

            
add How to use reverse proxy...
Yuki Kimoto authored on 2014-09-24
270
### How to use reverse proxy with sub directory?
271

            
272
GitPrep support reverse proxy with sub directory.
273

            
274
At first, set [reverse_proxy]path_depth option.
275

            
276
    [reverse_proxy]
277

            
278
    ;;; Reverse proxy path depth (default: none)
279
    ;;; If proxy path is http://somehost.com/foo, you set path_depth to 1.
280
    ;;; If proxy path is http://somehost.com/foo/bar, you set path_depth to 2.
281
    path_depth=1
282

            
283
Next you set http server config file. The following is apache example.
284

            
285
    <VirtualHost *:80>
286
      ServerName perlcodesample.com
287
      <Proxy *>
288
        Order deny,allow
289
        Allow from all
290
      </Proxy>
291
      ProxyRequests Off
292
      ProxyPreserveHost On
293

            
294
      ProxyPass /app1 http://localhost:10020/app1 keepalive=On
295
      ProxyPassReverse /app1 http://localhost:3000/app1
296

            
297
      ProxyPass /app2 http://localhost:10021/app2 keepalive=On
298
      ProxyPassReverse /app2 http://localhost:3001/app2
X-Forwarded-HTTPS header is ...
Yuki Kimoto authored on 2016-03-28
299
      
300
      RequestHeader set X-Forwarded-Proto "https"
add How to use reverse proxy...
Yuki Kimoto authored on 2014-09-24
301
    </VirtualHost>
302

            
add document about importing...
Yuki Kimoto authored on 2014-02-28
303
### How to import already existing repositories?
304

            
305
You can import already existing repositories by **script/import_rep** script.
306

            
307
    cd script
308
    ./import_rep -u kimoto rep_dir
309

            
310
**-u** is user name. rep_dir must contains git respoitories like the following.
311

            
fix pod
Yuki Kimoto authored on 2014-02-28
312
    rep_dir/project1.git
313
           /project2.git
314
           /project3.git
315
           /project3.git
add document about importing...
Yuki Kimoto authored on 2014-02-28
316

            
fix pod
Yuki Kimoto authored on 2014-02-28
317
If **description** file exists in git repository, it is copied.
add document about importing...
Yuki Kimoto authored on 2014-02-28
318

            
fix bug that can't create co...
Yuki Kimoto authored on 2014-03-08
319
### I can't add collabortor more than one
320

            
321
This is GitPrep bug before version 1.5.1.
322
Please use after version 1.5.2.
323

            
improve readme
Yuki Kimoto authored on 2015-11-05
324
If you continue to use GitPrep before version 1.5.1,
fix bug that can't create co...
Yuki Kimoto authored on 2014-03-08
325
collaboration table is broken.
326
Please fix it by the following way.
327

            
328
    # Run SQLite client
329
    sqlite3 data/gitprep.db
330
    
331
    # drop collaboration table
332
    drop table collaboration;
333
    
334
    # Restart
335
    ./gitprep
336

            
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
337
### I want to set time zone.
support time zone
Yuki Kimoto authored on 2014-03-08
338

            
339
OK. GitPrep suport time zone. You can set time_zone option in conig file.
340

            
341
    [basic]
342
    ;;; Time Zone
343
    ;;; GitPrep time zone is GMT by default
344
    ;;; You can set your local time zone.
345
    time_zone=+9:00
346

            
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
347
### How to hide user home directory in ssh repository URL?
348

            
support atom feed of commits...
Yuki Kimoto authored on 2014-10-03
349
**1. Use symbolic link and ssh_rep_url_base option**
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
350

            
rename ssh_repo_url_base opt...
Yuki Kimoto authored on 2014-09-24
351
At first, set [basic]ssh_rep_url_base option to /git
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
352

            
353
    ;;; SSH repository url base
354
    ; For exampke, If you set this value to /git, SSH repository url become
355
    ; ssh://kimoto@59.106.185.196/git/kimoto/gitprep.git
rename ssh_repo_url_base opt...
Yuki Kimoto authored on 2014-09-24
356
    ssh_rep_url_base=/git
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
357

            
358
And you create symbolic link to /home/gitprep/gitprep/data/rep
359
    
360
    cd /
361
    ln -s /home/gitprep/gitprep/data/rep /git
362
    chown gitprep:gitprep /git
363

            
support atom feed of commits...
Yuki Kimoto authored on 2014-10-03
364
**2. Use only public key authentication and set [basic]ssh_rep_url_base to empty**
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
365

            
366
If you use only public key authentication, you can access ssh repository
367
using the following url.
368

            
369
    ssh://kimoto@59.106.185.196/kimoto/gitprep.git
370

            
rename ssh_repo_url_base opt...
Yuki Kimoto authored on 2014-09-24
371
If you set [basic]ssh_rep_url_base to empty string, this URL is shown on Browser.
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
372

            
373
    ;;; SSH repository url base
374
    ; For exampke, If you set this value to /git, SSH repository url become
375
    ; ssh://kimoto@59.106.185.196/git/kimoto/gitprep.git
rename ssh_repo_url_base opt...
Yuki Kimoto authored on 2014-09-24
376
    ssh_rep_url_base=
add How to hide user home di...
Yuki Kimoto authored on 2014-09-24
377

            
support atom feed of commits...
Yuki Kimoto authored on 2014-10-03
378
### How to get atom feed of commits page
379

            
380
You can get atom feed of commits page by the following URL
381

            
382
    http://somehost.com/kimoto/gitprep/commits/master.atom
383

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
384
### How to run GitPrep from root user
385

            
386
You can manage the application from the root user.
387

            
388
Start the application
389

            
390
    sudo -u gitprep /home/gitprep/gitprep/gitprep
391

            
392
Stop the application
393

            
394
    sudo -u gitprep /home/gitprep/gitprep/gitprep --stop
395

            
396
If you want to start the application when the OS starts,
397
add the start application command to **rc.local**(Linux).
398

            
399
If you want to make it easy to manage gitprep,
400
then create a run script.
401

            
402
    mkdir -p /webapp
403
    echo '#!/bin/sh' > /webapp/gitprep
404
    echo 'su - gitprep -c "/home/gitprep/gitprep/gitprep $*"' >> /webapp/gitprep
405
    chmod 755 /webapp/gitprep
406

            
407
You can start and stop the application with the following command.
408

            
409
    # Start or Restart
410
    /webapp/gitprep
411

            
412
    # Stop
413
    /webapp/gitprep --stop
414

            
do success xt tests
Yuki Kimoto authored on 2016-03-25
415
### I want to use GitPrep on Perl 5.8.7 system
416

            
417
GitPrep 2.0 drop support Perl 5.8.7 because latest Mojolicious don't support Perl 5.8.
418

            
419
You can choice two selection.
420

            
421
**1. use GitPrep 1.xx**
422

            
423
GitPrep 1.xx support Perl 5.8.7+. You can use GitPrep v1.12.
424

            
425
https://github.com/yuki-kimoto/gitprep/archive/v1.12.tar.gz
426

            
add the document link of ver...
Yuki Kimoto authored on 2016-04-12
427
You can see version 1.12 document.
428

            
429
[GitPrep version 1 Document](old/README_v1.md)
430

            
do success xt tests
Yuki Kimoto authored on 2016-03-25
431
**2. You can install your local perl by perlbrew.**
432

            
433
http://perlbrew.pl/
434

            
435
perlbrew is very useful perl installation tools without breaking your system perl.
436

            
437
If you install perl 5.10.1+ by perlbrew, you can install latest GitPrep.
438

            
X-Forwarded-HTTPS header is ...
Yuki Kimoto authored on 2016-03-28
439
### I know information about GitPrep 2.0 upgrading.
440

            
add name and mail column to ...
Yuki Kimoto authored on 2016-04-06
441
You can upgrade GitPrep 2.0 the following command.
442

            
443
    ./setup_module
444
    ./setup_database
445

            
446
And you should know the following small changes.
447

            
remove [basic]show_ignore_sp...
Yuki Kimoto authored on 2016-04-02
448
**1. X-Forwarded-HTTPS header is deprecated. use  X-Forwarded-Proto header.**
X-Forwarded-HTTPS header is ...
Yuki Kimoto authored on 2016-03-28
449
    
450
    # This is deprecated in GitPrep 2.0
451
    RequestHeader set X-Forwarded-HTTPS "1"
452
    
453
    # Use X-Forwarded-Proto instead
454
    RequestHeader set X-Forwarded-Proto "https"
455

            
remove [basic]show_ignore_sp...
Yuki Kimoto authored on 2016-04-02
456
**2. remove [basic]show_ignore_space_change_link option**
457

            
remove [basic]encoding_suspe...
Yuki Kimoto authored on 2016-04-06
458
remove [basic]show_ignore_space_change_link option.
459
and move this feature to project settings page.
460

            
461
    # Go to settings page in your project
462
    /kimoto/gitprep/settings
463

            
add name and mail column to ...
Yuki Kimoto authored on 2016-04-06
464
**3. remove [basic]show_ignore_space_change_link option**
remove [basic]encoding_suspe...
Yuki Kimoto authored on 2016-04-06
465

            
remove [basic]show_ignore_sp...
Yuki Kimoto authored on 2016-04-02
466
remove [basic]show_ignore_space_change_link option.
467
but enable this feature on in project settings page.
468

            
469
    # Go to settings page in your project
470
    /kimoto/gitprep/settings
remove [basic]encoding_suspe...
Yuki Kimoto authored on 2016-04-06
471

            
add name and mail column to ...
Yuki Kimoto authored on 2016-04-06
472
**4. remove [basic]encoding_suspects option**
remove [basic]encoding_suspe...
Yuki Kimoto authored on 2016-04-06
473

            
474
remove [basic]encoding_suspects option
475
and move this feature to project settings page.
476

            
477
    # Go to settings page in your project
478
    /kimoto/gitprep/settings
remove [basic]show_ignore_sp...
Yuki Kimoto authored on 2016-04-02
479

            
add name and mail column to ...
Yuki Kimoto authored on 2016-04-06
480
**5. mail is required for user registration.
481

            
482
mail address is require for user registration.
483

            
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
484
## For Developer
485

            
486
If you are a developer, you can start the application in development mode.
487

            
488
    ./morbo
489

            
490
Then access the following URL.
491

            
492
    http://localhost:3000
493

            
494
If you have git, it is easy to install from git.
495

            
496
    git clone git://github.com/yuki-kimoto/gitprep.git
497

            
498
It is useful to write configuration in ***gitprep.my.conf***, not gitprep.conf.
499

            
add web site link
Yuki Kimoto authored on 2013-06-12
500
## Web Site
501

            
fix gitprep web site URL
Yuki Kimoto authored on 2015-11-06
502
[GitPrep Web Site](http://gitprep.yukikimoto.com/)
add web site link
Yuki Kimoto authored on 2013-06-12
503

            
add Time::Moment to cpanfil
Yuki Kimoto authored on 2016-04-20
504
## Internally Using Modules
add internally using project
Yuki Kimoto authored on 2013-06-16
505

            
506
* [Config::Tiny](http://search.cpan.org/dist/Config-Tiny/lib/Config/Tiny.pm)
507
* [DBD::SQLite](http://search.cpan.org/dist/DBD-SQLite/lib/DBD/SQLite.pm)
508
* [DBI](http://search.cpan.org/dist/DBI/DBI.pm)
509
* [DBIx::Connector](http://search.cpan.org/dist/DBIx-Connector/lib/DBIx/Connector.pm)
510
* [DBIx::Custom](http://search.cpan.org/dist/DBIx-Custom/lib/DBIx/Custom.pm)
Fixed link to Mojolicious
kberov authored on 2015-12-09
511
* [Mojolicious](http://search.cpan.org/~sri/Mojolicious/lib/Mojolicious.pm)
add internally using project
Yuki Kimoto authored on 2013-06-16
512
* [Mojolicious::Plugin::INIConfig](http://search.cpan.org/dist/Mojolicious-Plugin-INIConfig/lib/Mojolicious/Plugin/INIConfig.pm)
do success xt tests
Yuki Kimoto authored on 2016-03-25
513
* [Mojolicious::Plugin::AutoRoute](http://search.cpan.org/dist/Mojolicious-Plugin-AutoRoute/lib/Mojolicious/Plugin/AutoRoute.pm)
514
* [Mojolicious::Plugin::BasicAuth](http://search.cpan.org/dist/Mojolicious-Plugin-BasicAuth/README.pod)
add Mojolicious::Plugin::DBV...
Yuki Kimoto authored on 2016-03-26
515
* [Mojolicious::Plugin::DBViewer](http://search.cpan.org/dist/Mojolicious-Plugin-DBViewer/lib/Mojolicious/Plugin/DBViewer.pm)
add internally using project
Yuki Kimoto authored on 2013-06-16
516
* [Object::Simple](http://search.cpan.org/dist/Object-Simple/lib/Object/Simple.pm)
use hoedown for fenced code ...
Qinhu Wang authored on 2014-03-11
517
* [Text::Markdown::Hoedown](http://search.cpan.org/~tokuhirom/Text-Markdown-Hoedown-1.01/lib/Text/Markdown/Hoedown.pm)
add internally using project
Yuki Kimoto authored on 2013-06-16
518
* [Validator::Custom](http://search.cpan.org/dist/Validator-Custom/lib/Validator/Custom.pm)
add Time::Moment to cpanfil
Yuki Kimoto authored on 2016-04-20
519
* [Time-Moment](http://search.cpan.org/dist/Time-Moment/lib/Time/Moment.pod)
imrpvoe readme for CGI insta...
Yuki Kimoto authored on 2015-06-27
520

            
add WebDBViewer link
Yuki Kimoto authored on 2013-06-30
521
## Sister project
522

            
add Text::Markdown::Discount...
Yuki Kimoto authored on 2013-11-18
523
These are my Perl web application projects.
524

            
fix WebDBVeiwer link
Yuki Kimoto authored on 2015-11-07
525
* [WebDBViewer](https://github.com/yuki-kimoto/webdbviewer) - Database viewer to see database information on web browser.
add WebDBViewer link
Yuki Kimoto authored on 2013-06-30
526

            
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
527
## Bug
528

            
add attention of feature req...
Yuki Kimoto authored on 2016-01-23
529
If you find bug, plese tell me on GitHub issue. 
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
530

            
add attention of feature req...
Yuki Kimoto authored on 2016-01-23
531
Please post only bug information.
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
532

            
add attention of feature req...
Yuki Kimoto authored on 2016-01-23
533
* [Github Issue](https://github.com/yuki-kimoto/gitprep/issues?state=open)
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
534

            
add attention of feature req...
Yuki Kimoto authored on 2016-01-23
535
## Mailing list (Asking questions and feature requests)
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
536

            
add attention of feature req...
Yuki Kimoto authored on 2016-01-23
537
* [Google GitPrep Group](https://groups.google.com/forum/#!forum/gitprep)
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
538

            
add attention of feature req...
Yuki Kimoto authored on 2016-01-23
539
You can ask questions about usage of GitPrep in this mailing list.
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
540

            
add attention of feature req...
Yuki Kimoto authored on 2016-01-23
541
If you want new features, please post the request to this mailing list.
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
542

            
improved install process
Yuki Kimoto authored on 2013-04-09
543
## Copyright & license
544

            
add support and bug and requ...
Yuki Kimoto authored on 2014-05-21
545
Copyright 2012-2014 Yuki Kimoto. All rights reserved.
improved install process
Yuki Kimoto authored on 2013-04-09
546

            
547
This program is free software; you can redistribute it and/or modify it
548
under the same terms as Perl itself.