diff --git a/docs/usage/git_support.rst b/docs/usage/git_support.rst --- a/docs/usage/git_support.rst +++ b/docs/usage/git_support.rst @@ -11,10 +11,10 @@ client installed on the machine to make Although There is one limitation on git usage. - large pushes requires a http server with chunked encoding support. - + if you plan to use git you need to run RhodeCode with some -http server that supports chunked encoding which git http protocol uses, -i recommend using waitress_ or gunicorn_ (linux only) for `paste` wsgi app +http server that supports chunked encoding which git http protocol uses, +i recommend using waitress_ or gunicorn_ (linux only) for `paste` wsgi app replacement. Starting from version 1.4 waitress_ is the default wsgi server used in RhodeCode. @@ -23,33 +23,33 @@ To use, simply change change the followi use = egg:Paste#http to:: - + use = egg:waitress#main or:: use = egg:gunicorn#main - - + + And comment out bellow options:: - threadpool_workers = - threadpool_max_requests = - use_threadpool = - + threadpool_workers = + threadpool_max_requests = + use_threadpool = + You can simply run `paster serve` as usual. - -You can always disable git/hg support by editing a + +You can always disable git/hg support by editing a file **rhodecode/__init__.py** and commenting out backends .. code-block:: python - + BACKENDS = { 'hg': 'Mercurial repository', #'git': 'Git repository', } .. _waitress: http://pypi.python.org/pypi/waitress -.. _gunicorn: http://pypi.python.org/pypi/gunicorn \ No newline at end of file +.. _gunicorn: http://pypi.python.org/pypi/gunicorn