Files
@ 0eceb478c720
Branch filter:
Location: kallithea/docs/installation.rst - annotation
0eceb478c720
3.3 KiB
text/prs.fallenstein.rst
fixed issue #165 trending source files are now stored in cache as ext only, and translated to description only when displaying, so future changes of mappings will take affect right away.
Also changes the way how map is generating, ie. autogenerate from pygments lexers, and than complete with user defined mappings.
Also changes the way how map is generating, ie. autogenerate from pygments lexers, and than complete with user defined mappings.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | 5f481e4e888b 5f481e4e888b 5f481e4e888b 5f481e4e888b 5f481e4e888b 8af52e1224ff 8af52e1224ff 8af52e1224ff a60cd29ba7e2 5f481e4e888b 8af52e1224ff 9472a0150bf0 9472a0150bf0 9472a0150bf0 9472a0150bf0 5f481e4e888b 9472a0150bf0 9472a0150bf0 5f481e4e888b 8af52e1224ff 8af52e1224ff 5f481e4e888b 8af52e1224ff 8af52e1224ff 8af52e1224ff 5f481e4e888b 053983a464e4 5f481e4e888b 5f481e4e888b 5f481e4e888b 053983a464e4 5f481e4e888b 8af52e1224ff 8af52e1224ff 5f481e4e888b 053983a464e4 5f481e4e888b 5f481e4e888b a60cd29ba7e2 a60cd29ba7e2 5f481e4e888b 5f481e4e888b 8af52e1224ff a60cd29ba7e2 053983a464e4 a60cd29ba7e2 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff a60cd29ba7e2 8af52e1224ff a60cd29ba7e2 053983a464e4 8af52e1224ff 8af52e1224ff 8af52e1224ff 8af52e1224ff a60cd29ba7e2 8af52e1224ff a60cd29ba7e2 053983a464e4 a60cd29ba7e2 a60cd29ba7e2 8af52e1224ff a60cd29ba7e2 053983a464e4 a60cd29ba7e2 8af52e1224ff 8af52e1224ff a60cd29ba7e2 8bbe9ab76371 8bbe9ab76371 8bbe9ab76371 8bbe9ab76371 8bbe9ab76371 8af52e1224ff 8bbe9ab76371 8bbe9ab76371 8bbe9ab76371 8bbe9ab76371 8bbe9ab76371 8af52e1224ff 8bbe9ab76371 8af52e1224ff 8af52e1224ff 8af52e1224ff 8bbe9ab76371 a60cd29ba7e2 a60cd29ba7e2 8bbe9ab76371 8bbe9ab76371 8bbe9ab76371 5f481e4e888b a60cd29ba7e2 a60cd29ba7e2 a60cd29ba7e2 a60cd29ba7e2 a60cd29ba7e2 | .. _installation:
Installation
============
``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,
recommended one is rabbitmq_ to make the async tasks work.
Of course RhodeCode works in sync mode also and then you do not have to install
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.
If you make the decision to run RhodeCode with celery make sure you run
celeryd using paster and message broker together with the application.
Installing RhodeCode from Cheese Shop
-------------------------------------
Rhodecode requires python version 2.5 or higher.
The easiest way to install ``rhodecode`` is to run::
easy_install rhodecode
Or::
pip install rhodecode
If you prefer to install RhodeCode manually simply grab latest release from
http://pypi.python.org/pypi/rhodecode, decompress the archive and run::
python setup.py install
Step by step installation example
---------------------------------
- Assuming you have installed virtualenv_ create a new virtual environment using virtualenv::
virtualenv --no-site-packages /var/www/rhodecode-venv
.. note:: Using ``--no-site-packages`` when generating your
virtualenv is **very important**. This flag provides the necessary
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.
- this will install new virtualenv_ into `/var/www/rhodecode-venv`.
- Activate the virtualenv_ by running::
source /var/www/rhodecode-venv/bin/activate
.. note:: If you're using UNIX, *do not* use ``sudo`` to run the
``virtualenv`` script. It's perfectly acceptable (and desirable)
to create a virtualenv as a normal user.
- Make a folder for rhodecode somewhere on the filesystem for example::
mkdir /var/www/rhodecode
- Run this command to install rhodecode::
easy_install rhodecode
- This will install rhodecode together with pylons and all other required python
libraries
Requirements for Celery (optional)
----------------------------------
.. note::
Installing message broker and using celery is optional, RhodeCode will
work perfectly fine without them.
**Message Broker**
- preferred is `RabbitMq <http://www.rabbitmq.com/>`_
- A possible alternative is `Redis <http://code.google.com/p/redis/>`_
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_
You can now proceed to :ref:`setup`
-----------------------------------
.. _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/
|