1
:command:`serve-branches`: Run a loggerhead server [XXX in the foreground]
2
===========================================================================
4
The :command:`serve-branches` command runs a standalone loggerhead server in
7
.. program:: serve-branches
14
serve-branches [OPTIONS] <target directory>
16
.. cmdoption:: -h, --help
18
Show this help message and exit
20
.. cmdoption:: --user-dirs
22
Serve user directories as ``~user``. XXX (Requires ``--trunk-dir``).
24
.. cmdoption:: --trunk-dir=DIR
26
The directory that contains the trunk branches.
30
Port Loggerhead should listen on (defaults to 8080).
34
Host Loggerhead should listen on. XXX (defaults to 0.0.0.0).
36
.. cmdoption:: --prefix
38
Specify host prefix. XXX this is wildly unclear.
40
.. cmdoption:: --reload
42
Restarts the application when changing python files. Only used for
45
.. cmdoption:: --log-folder=LOG_FOLDER
47
The directory [XXX in which] to place log files
49
.. cmdoption:: --version
51
Print the software version and exit.