Mercurial > kallithea
comparison docs/setup.rst @ 5433:fbbe80e3322b
docs: consistent spacing around headings
Start out with 2 empty lines before/after for top level, decrease for deeper
levels.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 26 Aug 2015 17:28:58 +0200 |
parents | 66f1b9745905 |
children | 8867673c8192 |
comparison
equal
deleted
inserted
replaced
5432:a4c0fe15a6f1 | 5433:fbbe80e3322b |
---|---|
119 the same permissions as set up via the Kallithea web | 119 the same permissions as set up via the Kallithea web |
120 interface, you can create an authentication hook to connect | 120 interface, you can create an authentication hook to connect |
121 to the Kallithea db and run check functions for permissions | 121 to the Kallithea db and run check functions for permissions |
122 against that. | 122 against that. |
123 | 123 |
124 | |
124 Setting up Whoosh full text search | 125 Setting up Whoosh full text search |
125 ---------------------------------- | 126 ---------------------------------- |
126 | 127 |
127 Kallithea provides full text search of repositories using `Whoosh`__. | 128 Kallithea provides full text search of repositories using `Whoosh`__. |
128 | 129 |
382 administrator can then modify it using Kallithea's admin interface. | 383 administrator can then modify it using Kallithea's admin interface. |
383 | 384 |
384 It's also possible for an administrator to create accounts and configure their | 385 It's also possible for an administrator to create accounts and configure their |
385 permissions before the user logs in for the first time, using the :ref:`create-user` API. | 386 permissions before the user logs in for the first time, using the :ref:`create-user` API. |
386 | 387 |
387 | |
388 Container-based authentication | 388 Container-based authentication |
389 '''''''''''''''''''''''''''''' | 389 '''''''''''''''''''''''''''''' |
390 | 390 |
391 In a container-based authentication setup, Kallithea reads the user name from | 391 In a container-based authentication setup, Kallithea reads the user name from |
392 the ``REMOTE_USER`` server variable provided by the WSGI container. | 392 the ``REMOTE_USER`` server variable provided by the WSGI container. |
393 | 393 |
394 After setting up your container (see `Apache with mod_wsgi`_), you'll need | 394 After setting up your container (see `Apache with mod_wsgi`_), you'll need |
395 to configure it to require authentication on the location configured for | 395 to configure it to require authentication on the location configured for |
396 Kallithea. | 396 Kallithea. |
397 | |
398 | 397 |
399 Proxy pass-through authentication | 398 Proxy pass-through authentication |
400 ''''''''''''''''''''''''''''''''' | 399 ''''''''''''''''''''''''''''''''' |
401 | 400 |
402 In a proxy pass-through authentication setup, Kallithea reads the user name | 401 In a proxy pass-through authentication setup, Kallithea reads the user name |
708 prefix = /<someprefix> | 707 prefix = /<someprefix> |
709 | 708 |
710 | 709 |
711 then change ``<someprefix>`` into your chosen prefix | 710 then change ``<someprefix>`` into your chosen prefix |
712 | 711 |
712 | |
713 Apache with mod_wsgi | 713 Apache with mod_wsgi |
714 -------------------- | 714 -------------------- |
715 | 715 |
716 Alternatively, Kallithea can be set up with Apache under mod_wsgi. For | 716 Alternatively, Kallithea can be set up with Apache under mod_wsgi. For |
717 that, you'll need to: | 717 that, you'll need to: |
804 | 804 |
805 A number of `example init.d scripts`__ can be found in | 805 A number of `example init.d scripts`__ can be found in |
806 the ``init.d`` directory of the Kallithea source. | 806 the ``init.d`` directory of the Kallithea source. |
807 | 807 |
808 .. __: https://kallithea-scm.org/repos/kallithea/files/tip/init.d/ . | 808 .. __: https://kallithea-scm.org/repos/kallithea/files/tip/init.d/ . |
809 | |
809 | 810 |
810 .. _virtualenv: http://pypi.python.org/pypi/virtualenv | 811 .. _virtualenv: http://pypi.python.org/pypi/virtualenv |
811 .. _python: http://www.python.org/ | 812 .. _python: http://www.python.org/ |
812 .. _Mercurial: http://mercurial.selenic.com/ | 813 .. _Mercurial: http://mercurial.selenic.com/ |
813 .. _Celery: http://celeryproject.org/ | 814 .. _Celery: http://celeryproject.org/ |