1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
\r
4 <sect2 lang="en" id="git-instaweb(1)">
\r
5 <title>git-instaweb(1)</title>
\r
7 <primary>git-instaweb(1)</primary>
\r
9 <simplesect id="git-instaweb(1)__name">
\r
11 <simpara>git-instaweb - Instantly browse your working repository in gitweb</simpara>
\r
13 <simplesect id="git-instaweb(1)__synopsis">
\r
14 <title>SYNOPSIS</title>
\r
16 <literallayout><emphasis>git instaweb</emphasis> [--local] [--httpd=<httpd>] [--port=<port>]
\r
17 [--browser=<browser>]
\r
18 <emphasis>git instaweb</emphasis> [--start] [--stop] [--restart]</literallayout>
\r
21 <simplesect id="git-instaweb(1)__description">
\r
22 <title>DESCRIPTION</title>
\r
23 <simpara>A simple script to set up <emphasis>gitweb</emphasis> and a web server for browsing the local
\r
24 repository.</simpara>
\r
26 <simplesect id="git-instaweb(1)__options">
\r
27 <title>OPTIONS</title>
\r
38 Only bind the web server to the local IP (127.0.0.1).
\r
51 The HTTP daemon command-line that will be executed.
\r
52 Command-line options may be specified here, and the
\r
53 configuration file will be added at the end of the command-line.
\r
54 Currently apache2, lighttpd, mongoose, plackup and webrick are supported.
\r
68 The module path (only needed if httpd is Apache).
\r
69 (Default: /usr/lib/apache2/modules)
\r
82 The port number to bind the httpd to. (Default: 1234)
\r
95 The web browser that should be used to view the gitweb
\r
96 page. This will be passed to the <emphasis>git web--browse</emphasis> helper
\r
97 script along with the URL of the gitweb instance. See
\r
98 <xref linkend="git-web--browse(1)" /> for more information about this. If
\r
99 the script fails, the URL will be printed to stdout.
\r
112 Start the httpd instance and exit. Regenerate configuration files
\r
113 as necessary for spawning a new instance.
\r
126 Stop the httpd instance and exit. This does not generate
\r
127 any of the configuration files for spawning a new instance,
\r
128 nor does it close the browser.
\r
141 Restart the httpd instance and exit. Regenerate configuration files
\r
142 as necessary for spawning a new instance.
\r
148 <simplesect id="git-instaweb(1)__configuration">
\r
149 <title>CONFIGURATION</title>
\r
150 <simpara>You may specify configuration in your .git/config</simpara>
\r
155 browser = konqueror
\r
156 modulepath = /usr/lib/apache2/modules</screen>
\r
157 <simpara>If the configuration variable <emphasis>instaweb.browser</emphasis> is not set,
\r
158 <emphasis>web.browser</emphasis> will be used instead if it is defined. See
\r
159 <xref linkend="git-web--browse(1)" /> for more information about this.</simpara>
\r
161 <simplesect id="git-instaweb(1)__see_also">
\r
162 <title>SEE ALSO</title>
\r
163 <simpara><xref linkend="gitweb(1)" /></simpara>
\r
165 <simplesect id="git-instaweb(1)__git">
\r
167 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r