~loggerhead-team/loggerhead/trunk-rich

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
:command:`serve-branches`:  Run a loggerhead server [XXX in the foreground]
===========================================================================

The :command:`serve-branches` command runs a standalone loggerhead server in
the foreground.

.. program:: serve-branches

Usage
-----

.. code-block:: sh

   serve-branches [OPTIONS] <target directory>

.. cmdoption:: -h, --help

    Show this help message and exit

.. cmdoption:: --user-dirs

    Serve user directories as ``~user``. XXX (Requires ``--trunk-dir``).

.. cmdoption:: --trunk-dir=DIR

    The directory that contains the trunk branches.

.. cmdoption:: --port

    Port Loggerhead should listen on (defaults to 8080).

.. cmdoption:: --host

    Host Loggerhead should listen on. XXX (defaults to 0.0.0.0).

.. cmdoption:: --prefix

    Specify host prefix. XXX this is wildly unclear.

.. cmdoption:: --reload

    Restarts the application when changing python files. Only used for
    development purposes.

.. cmdoption:: --log-folder=LOG_FOLDER

    The directory [XXX in which] to place log files

.. cmdoption:: --version

    Print the software version and exit.