##// END OF EJS Templates
merged latest fixes for stable
merged latest fixes for stable

File last commit:

r1136:93b980eb default
r1250:cc425162 default
Show More
installation.rst
105 lines | 3.3 KiB | text/x-rst | RstLexer
/ docs / installation.rst
updated docs, added sphinx build
r568 .. _installation:
Installation
============
jfh
- Further corrections.
r1091 ``RhodeCode`` is written entirely in Python. In order to gain maximum performance
there are some third-party you must install. 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
jfh
- Further corrections.
r1091 Of course RhodeCode works in sync mode also and then you do not have to install
changes for release 1.1.5
r1136 any third party applications. However, using Celery_ will give you a large
speed improvement when using many big repositories. If you plan to use
RhodeCode for say 7 to 10 small repositories, RhodeCode will perform perfectly
well without celery running.
updated docs, added sphinx build
r568
changes for release 1.1.5
r1136 If you make the decision to run RhodeCode with celery make sure you run
celeryd using paster and message broker together with the application.
updated docs, added sphinx build
r568
jfh
- Further corrections.
r1091 Installing RhodeCode from Cheese Shop
fixed sphinx build errors
r1095 -------------------------------------
jfh
- Further corrections.
r1091 Rhodecode requires python version 2.5 or higher.
updated docs, added sphinx build
r568
jfh
- Further corrections.
r1091 The easiest way to install ``rhodecode`` is to run::
updated docs, added sphinx build
r568
Fixes for release 1.1.4...
r1071 easy_install rhodecode
updated docs, added sphinx build
r568
Or::
Fixes for release 1.1.4...
r1071 pip install rhodecode
updated docs, added sphinx build
r568
jfh
- Further corrections.
r1091 If you prefer to install RhodeCode manually simply grab latest release from
http://pypi.python.org/pypi/rhodecode, decompress the archive and run::
updated docs, added sphinx build
r568
Fixes for release 1.1.4...
r1071 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
jfh
- Further corrections.
r1091 - Assuming you have installed virtualenv_ create a new virtual environment using virtualenv::
more docs update
r572
Fixes for release 1.1.4...
r1071 virtualenv --no-site-packages /var/www/rhodecode-venv
.. note:: Using ``--no-site-packages`` when generating your
jfh
- Further corrections.
r1091 virtualenv is **very important**. This flag provides the necessary
Fixes for release 1.1.4...
r1071 isolation for running the set of packages required by
RhodeCode. If you do not specify ``--no-site-packages``,
it's possible that RhodeCode will not install properly into
the virtualenv, or, even if it does, may not run properly,
depending on the packages you've already got installed into your
Python's "main" site-packages dir.
more docs update
r572
- this will install new virtualenv_ into `/var/www/rhodecode-venv`.
jfh
- Further corrections.
r1091 - Activate the virtualenv_ by running::
more docs update
r572
Fixes for release 1.1.4...
r1071 source /var/www/rhodecode-venv/bin/activate
jfh
- Further corrections.
r1091 .. note:: If you're using UNIX, *do not* use ``sudo`` to run the
Fixes for release 1.1.4...
r1071 ``virtualenv`` script. It's perfectly acceptable (and desirable)
to create a virtualenv as a normal user.
more docs update
r572
jfh
- Further corrections.
r1091 - Make a folder for rhodecode somewhere on the filesystem for example::
more docs update
r572
Fixes for release 1.1.4...
r1071 mkdir /var/www/rhodecode
more docs update
r572
jfh
- Further corrections.
r1091 - Run this command to install rhodecode::
more docs update
r572
Fixes for release 1.1.4...
r1071 easy_install rhodecode
more docs update
r572
jfh
- Further corrections.
r1091 - This will install rhodecode together with pylons 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
jfh
- Further corrections.
r1091 work perfectly fine without them.
cleaned installation docs a little
r855
**Message Broker**
- preferred is `RabbitMq <http://www.rabbitmq.com/>`_
jfh
- Further corrections.
r1091 - A possible alternative is `Redis <http://code.google.com/p/redis/>`_
cleaned installation docs a little
r855
jfh
- Further corrections.
r1091 For installation instructions you can visit:
http://ask.github.com/celery/getting-started/index.html.
This is a very nice tutorial on how to start using celery_ with rabbitmq_
cleaned installation docs a little
r855
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/