##// END OF EJS Templates
implemented public journal for anonymous users, admin can control which repositories...
implemented public journal for anonymous users, admin can control which repositories are visible in such journal in admin panel

File last commit:

r1071:bdc438fb default
r1085:3fe32858 beta
Show More
installation.rst
98 lines | 2.6 KiB | text/x-rst | RstLexer
/ docs / installation.rst
updated docs, added sphinx build
r568 .. _installation:
Installation
============
``RhodeCode`` is written entirely in Python, but in order to use it's full
potential there are some third-party requirements. When RhodeCode is used
together with celery You have to install some kind of message broker,
more docs update
r572 recommended one is rabbitmq_ to make the async tasks work.
updated docs, added sphinx build
r568
Of course RhodeCode works in sync mode also, then You don't have to install
more docs update
r572 any third party apps. Celery_ will give You large speed improvement when using
docs update
r845 many big repositories. If You plan to use it for 7 or 10 small repositories, it
updated docs, added sphinx build
r568 will work just fine without celery running.
docs update
r845 After You decide to Run it with celery make sure You run celeryd using paster
and message broker together with the application.
updated docs, added sphinx build
r568
Install from Cheese Shop
------------------------
docs update
r845 Rhodecode requires python 2.x greater than version 2.5
updated docs, added sphinx build
r568
Easiest way to install ``rhodecode`` is to run::
docs and readme update
r1062 easy_install rhodecode
updated docs, added sphinx build
r568
Or::
docs and readme update
r1062 pip install rhodecode
updated docs, added sphinx build
r568
If you prefer to install manually simply grab latest release from
http://pypi.python.org/pypi/rhodecode, decompres archive and run::
docs and readme update
r1062 python setup.py install
updated docs, added sphinx build
r568
more docs update
r572 Step by step installation example
---------------------------------
updated docs, added sphinx build
r568
docs update
r845 - Assuming You have installed virtualenv_ create one using.
The `--no-site-packages` will make sure non of Your system libs are linked
with this virtualenv_
more docs update
r572
::
docs and readme update
r1062 virtualenv --no-site-packages /var/www/rhodecode-venv
more docs update
r572
- this will install new virtualenv_ into `/var/www/rhodecode-venv`.
- Activate the virtualenv_ by running
::
docs and readme update
r1062 source /var/www/rhodecode-venv/bin/activate
more docs update
r572
updated docs, added sphinx build
r568 - Make a folder for rhodecode somewhere on the filesystem for example
more docs update
r572
::
docs and readme update
r1062 mkdir /var/www/rhodecode
more docs update
r572
- Run this command to install rhodecode
::
docs and readme update
r1062 easy_install rhodecode
more docs update
r572
- this will install rhodecode together with pylons
updated docs, added sphinx build
r568 and all other required python libraries
more docs update
r572
cleaned installation docs a little
r855 Requirements for Celery (optional)
----------------------------------
.. note::
Installing message broker and using celery is optional, RhodeCode will
work without them perfectly fine.
**Message Broker**
- preferred is `RabbitMq <http://www.rabbitmq.com/>`_
- possible other is `Redis <http://code.google.com/p/redis/>`_
For installation instructions You can visit:
http://ask.github.com/celery/getting-started/index.html
It's very nice tutorial how to start celery_ with rabbitmq_
more docs update
r572
You can now proceed to :ref:`setup`
cleaned installation docs a little
r855 -----------------------------------
updated docs, added sphinx build
r568
more docs update
r572 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
.. _python: http://www.python.org/
.. _mercurial: http://mercurial.selenic.com/
.. _celery: http://celeryproject.org/
.. _rabbitmq: http://www.rabbitmq.com/