annotate docs/upgrade.rst @ 929:c44b3c9b9f7f beta

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