/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to docs/index.rst

  • Committer: Jelmer Vernooij
  • Date: 2018-10-20 17:34:46 UTC
  • mto: (491.6.1 breezy)
  • mto: This revision was merged to the branch mainline in revision 494.
  • Revision ID: jelmer@jelmer.uk-20181020173446-eywejowpq25sg8pw
Rename serve-branches to loggerhead-serve.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
----------------------------------------
54
54
 
55
55
After installing all the dependencies, you should be able to run
56
 
:command:`serve-branches` with the branch you want to serve on the
 
56
:command:`loggerhead-serve` with the branch you want to serve on the
57
57
command line:
58
58
 
59
59
.. code-block:: sh
60
60
 
61
 
    ./serve-branches ~/path/to/branch
 
61
    ./loggerhead-serve ~/path/to/branch
62
62
 
63
63
By default, the script listens on port 8080, so head to
64
64
http://localhost:8080/ in your browser to see the branch.
70
70
Loggerhead will notice and refresh, and Bazaar uses its own branch
71
71
locking to prevent corruption.
72
72
 
73
 
See :doc:`serve-branches` for all command line options.
 
73
See :doc:`loggerhead-serve` for all command line options.
74
74
 
75
75
Running Loggerhead as a Daemon
76
76
------------------------------
84
84
   $ sudo cp ./loggerheadd /etc/init.d
85
85
 
86
86
2) Edit the file to configure where your Loggerhead is installed, and which
87
 
   serve-branches options you would like.
 
87
   loggerhead-serve options you would like.
88
88
 
89
89
.. code-block:: sh
90
90
 
144
144
        ProxyPassReverse http://127.0.0.1:8080/branches/
145
145
    </Location>
146
146
 
147
 
If Paste Deploy is installed, the :command:`serve-branches` script can be
 
147
If Paste Deploy is installed, the :command:`loggerhead-serve` script can be
148
148
run behind a proxy at the root of a site, but if you're running it at
149
149
some path into the site, you'll need to specify it using
150
150
``--prefix=/some_path``.
221
221
.. toctree::
222
222
   :maxdepth: 2
223
223
 
224
 
   serve-branches
 
224
   loggerhead-serve
225
225
 
226
226
 
227
227
Support