1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
\r
4 <article lang="en" id="git-instaweb(1)">
\r
6 <title>git-instaweb(1)</title>
\r
8 <primary>git-instaweb(1)</primary>
\r
11 <simplesect id="_name">
\r
13 <simpara>git-instaweb - Instantly browse your working repository in gitweb</simpara>
\r
15 <simplesect id="_synopsis">
\r
16 <title>SYNOPSIS</title>
\r
18 <literallayout><emphasis>git instaweb</emphasis> [--local] [--httpd=<httpd>] [--port=<port>]
\r
19 [--browser=<browser>]
\r
20 <emphasis>git instaweb</emphasis> [--start] [--stop] [--restart]</literallayout>
\r
23 <simplesect id="_description">
\r
24 <title>DESCRIPTION</title>
\r
25 <simpara>A simple script to set up <emphasis>gitweb</emphasis> and a web server for browsing the local
\r
26 repository.</simpara>
\r
28 <simplesect id="_options">
\r
29 <title>OPTIONS</title>
\r
40 Only bind the web server to the local IP (127.0.0.1).
\r
53 The HTTP daemon command-line that will be executed.
\r
54 Command-line options may be specified here, and the
\r
55 configuration file will be added at the end of the command-line.
\r
56 Currently apache2, lighttpd, mongoose, plackup and webrick are supported.
\r
70 The module path (only needed if httpd is Apache).
\r
71 (Default: /usr/lib/apache2/modules)
\r
84 The port number to bind the httpd to. (Default: 1234)
\r
97 The web browser that should be used to view the gitweb
\r
98 page. This will be passed to the <emphasis>git web--browse</emphasis> helper
\r
99 script along with the URL of the gitweb instance. See
\r
100 <xref linkend="git-web--browse(1)" /> for more information about this. If
\r
101 the script fails, the URL will be printed to stdout.
\r
114 Start the httpd instance and exit. Regenerate configuration files
\r
115 as necessary for spawning a new instance.
\r
128 Stop the httpd instance and exit. This does not generate
\r
129 any of the configuration files for spawning a new instance,
\r
130 nor does it close the browser.
\r
143 Restart the httpd instance and exit. Regenerate configuration files
\r
144 as necessary for spawning a new instance.
\r
150 <simplesect id="_configuration">
\r
151 <title>CONFIGURATION</title>
\r
152 <simpara>You may specify configuration in your .git/config</simpara>
\r
157 browser = konqueror
\r
158 modulepath = /usr/lib/apache2/modules</screen>
\r
159 <simpara>If the configuration variable <emphasis>instaweb.browser</emphasis> is not set,
\r
160 <emphasis>web.browser</emphasis> will be used instead if it is defined. See
\r
161 <xref linkend="git-web--browse(1)" /> for more information about this.</simpara>
\r
163 <simplesect id="_see_also">
\r
164 <title>SEE ALSO</title>
\r
165 <simpara><xref linkend="gitweb(1)" /></simpara>
\r
167 <simplesect id="_git">
\r
169 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r