##// END OF EJS Templates
docs: suggest creating a new virtual environment for major upgrades...
Thomas De Schampheleire -
r7501:de92f48c default
parent child Browse files
Show More
@@ -59,17 +59,30 b' database type, settings, location, etc. '
59 older, this was ``sqlalchemy.db1.url``.
59 older, this was ``sqlalchemy.db1.url``.
60
60
61
61
62 3. Activate the Kallithea virtual environment (if any)
62 3. Activate or recreate the Kallithea virtual environment (if any)
63 ------------------------------------------------------
63 ------------------------------------------------------------------
64
65 .. note::
66 If you did not install Kallithea in a virtual environment, skip this step.
64
67
65 Verify that you are using the Python environment that you originally
68 For major upgrades, e.g. from 0.3.x to 0.4.x, it is recommended to create a new
66 installed Kallithea in by running::
69 virtual environment, rather than reusing the old. For minor upgrades, e.g.
70 within the 0.4.x range, this is not really necessary (but equally fine).
71
72 To create a new virtual environment, please refer to the appropriate
73 installation page for details. After creating and activating the new virtual
74 environment, proceed with the rest of the upgrade process starting from the next
75 section.
76
77 To reuse the same virtual environment, first activate it, then verify that you
78 are using the correct environment by running::
67
79
68 pip freeze
80 pip freeze
69
81
70 This will list all packages installed in the current environment. If
82 This will list all packages installed in the current environment. If
71 Kallithea isn't listed, activate the correct virtual environment.
83 Kallithea isn't listed, deactivate the environment and then activate the correct
72 See the appropriate installation page for details.
84 one, or recreate a new environment. See the appropriate installation page for
85 details.
73
86
74
87
75 4. Install new version of Kallithea
88 4. Install new version of Kallithea
General Comments 0
You need to be logged in to leave comments. Login now