blob: 7dd393b97f6a70642fe713fa780c1caed2ead840 [file] [log] [blame]
Junio C Hamano7ec15722006-07-07 02:03:591git-instaweb(1)
2===============
3
4NAME
5----
6git-instaweb - instantly browse your working repository in gitweb
7
8SYNOPSIS
9--------
10'git-instaweb' [--local] [--httpd=<httpd>] [--port=<port>] [--browser=<browser>]
11
12'git-instaweb' [--start] [--stop] [--restart]
13
14DESCRIPTION
15-----------
16A simple script to setup gitweb and a web server for browsing the local
17repository.
18
19OPTIONS
20-------
21
22-l|--local::
23Only bind the web server to the local IP (127.0.0.1).
24
25-d|--httpd::
26The HTTP daemon command-line that will be executed.
27Command-line options may be specified here, and the
28configuration file will be added at the end of the command-line.
29Currently, lighttpd and apache2 are the only supported servers.
30(Default: lighttpd)
31
32-m|--module-path::
33The module path (only needed if httpd is Apache).
34(Default: /usr/lib/apache2/modules)
35
36-p|--port::
37The port number to bind the httpd to. (Default: 1234)
38
39-b|--browser::
40
41The web browser command-line to execute to view the gitweb page.
42If blank, the URL of the gitweb instance will be printed to
43stdout. (Default: 'firefox')
44
45--start::
46Start the httpd instance and exit. This does not generate
47any of the configuration files for spawning a new instance.
48
49--stop::
50Stop the httpd instance and exit. This does not generate
51any of the configuration files for spawning a new instance,
52nor does it close the browser.
53
54--restart::
55Restart the httpd instance and exit. This does not generate
56any of the configuration files for spawning a new instance.
57
58CONFIGURATION
59-------------
60
61You may specify configuration in your .git/config
62
63-----------------------------------------------------------------------
64[instaweb]
65local = true
66httpd = apache2 -f
67port = 4321
68browser = konqueror
69modulepath = /usr/lib/apache2/modules
70
71-----------------------------------------------------------------------
72
73Author
74------
75Written by Eric Wong <normalperson@yhbt.net>
76
77Documentation
78--------------
79Documentation by Eric Wong <normalperson@yhbt.net>.
80
81GIT
82---
83Part of the gitlink:git[7] suite
84