Mercurial > kallithea
annotate docs/upgrade.rst @ 975:27dba61f07d3 beta
merge
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 28 Jan 2011 19:46:10 +0100 |
parents | a040597b070b |
children | 053983a464e4 bdc438fb4fe4 |
rev | line source |
---|---|
642 | 1 .. _upgrade: |
2 | |
3 Upgrade | |
4 ======= | |
5 | |
6 Upgrade from Cheese Shop | |
7 ------------------------ | |
8 | |
9 Easiest way to upgrade ``rhodecode`` is to run:: | |
10 | |
11 easy_install -U rhodecode | |
12 | |
13 Or:: | |
14 | |
15 pip install --upgrade rhodecode | |
16 | |
17 | |
18 Then make sure You run from the installation directory | |
19 | |
20 :: | |
21 | |
22 paster make-config RhodeCode production.ini | |
23 | |
24 This will display any changes made from new version of RhodeCode To your | |
845 | 25 current config. And tries to do an automerge. It's always better to do a backup |
26 of config file and recheck the content after merge. | |
642 | 27 |
661
673de12e6bf6
added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents:
642
diff
changeset
|
28 It's also good to rebuild the whoosh index since after upgrading the whoosh |
845 | 29 version there could be introduced incompatible index changes. |
30 | |
31 | |
32 The last step is to upgrade the database. To do this simply run | |
33 | |
34 :: | |
35 | |
36 paster upgrade-db production.ini | |
37 | |
38 This will upgrade schema, as well as update some default on the database, | |
39 always recheck the settings of the application, if there are no new options | |
40 that need to be set. | |
41 | |
42 .. note:: | |
43 Always perform a database backup before doing upgrade. | |
44 | |
661
673de12e6bf6
added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents:
642
diff
changeset
|
45 |
642 | 46 |
47 .. _virtualenv: http://pypi.python.org/pypi/virtualenv | |
48 .. _python: http://www.python.org/ | |
49 .. _mercurial: http://mercurial.selenic.com/ | |
50 .. _celery: http://celeryproject.org/ | |
51 .. _rabbitmq: http://www.rabbitmq.com/ |