comparison docs/installation_win_old.rst @ 5575:ed2fb6e84a02

docs: use consistent style for section titles
author Mads Kiilerich <madski@unity3d.com>
date Mon, 16 Nov 2015 18:33:53 +0100
parents 8c234ae2c258
children 8075ec3d0233
comparison
equal deleted inserted replaced
5571:bedb8905c6f8 5575:ed2fb6e84a02
4 Installation and upgrade on Windows (XP/Vista/Server 2003/Server 2008) 4 Installation and upgrade on Windows (XP/Vista/Server 2003/Server 2008)
5 ====================================================================== 5 ======================================================================
6 6
7 7
8 First-time install 8 First-time install
9 :::::::::::::::::: 9 ------------------
10 10
11 Target OS: Windows XP SP3 32-bit English (Clean installation) 11 Target OS: Windows XP SP3 32-bit English (Clean installation)
12 + All Windows Updates until 24-may-2012 12 + All Windows Updates until 24-may-2012
13 13
14 .. note:: 14 .. note::
22 22
23 - http://blog.victorjabur.com/2011/06/05/compiling-python-2-7-modules-on-windows-32-and-64-using-msvc-2008-express/ 23 - http://blog.victorjabur.com/2011/06/05/compiling-python-2-7-modules-on-windows-32-and-64-using-msvc-2008-express/
24 - http://bugs.python.org/issue7511 24 - http://bugs.python.org/issue7511
25 25
26 Step 1 -- Install Visual Studio 2008 Express 26 Step 1 -- Install Visual Studio 2008 Express
27 -------------------------------------------- 27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28 28
29 Optional: You can also install MinGW, but VS2008 installation is easier. 29 Optional: You can also install MinGW, but VS2008 installation is easier.
30 30
31 Download "Visual C++ 2008 Express Edition with SP1" from: 31 Download "Visual C++ 2008 Express Edition with SP1" from:
32 http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B738298/VS2008ExpressWithSP1ENUX1504728.iso 32 http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B738298/VS2008ExpressWithSP1ENUX1504728.iso
56 64-bit: You also need to copy and rename a .bat file to make the Visual C++ compiler work. 56 64-bit: You also need to copy and rename a .bat file to make the Visual C++ compiler work.
57 I am not sure why this is not necessary for 32-bit. 57 I am not sure why this is not necessary for 32-bit.
58 Copy C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat 58 Copy C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat
59 59
60 Step 2 -- Install Python 60 Step 2 -- Install Python
61 ------------------------ 61 ^^^^^^^^^^^^^^^^^^^^^^^^
62 62
63 Install Python 2.x.y (x = 6 or 7) x86 version (32-bit). DO NOT USE A 3.x version. 63 Install Python 2.x.y (x = 6 or 7) x86 version (32-bit). DO NOT USE A 3.x version.
64 Download Python 2.x.y from: 64 Download Python 2.x.y from:
65 http://www.python.org/download/ 65 http://www.python.org/download/
66 66
72 .. note:: 72 .. note::
73 73
74 64-bit: Just download and install the 64-bit version of python. 74 64-bit: Just download and install the 64-bit version of python.
75 75
76 Step 3 -- Install Win32py extensions 76 Step 3 -- Install Win32py extensions
77 ------------------------------------ 77 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78 78
79 Download pywin32 from: 79 Download pywin32 from:
80 http://sourceforge.net/projects/pywin32/files/ 80 http://sourceforge.net/projects/pywin32/files/
81 81
82 - Click on "pywin32" folder 82 - Click on "pywin32" folder
91 64-bit: Download and install the 64-bit version. 91 64-bit: Download and install the 64-bit version.
92 At the time of writing you can find this at: 92 At the time of writing you can find this at:
93 http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win-amd64-py2.7.exe/download 93 http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win-amd64-py2.7.exe/download
94 94
95 Step 4 -- Python BIN 95 Step 4 -- Python BIN
96 -------------------- 96 ^^^^^^^^^^^^^^^^^^^^
97 97
98 Add Python BIN folder to the path 98 Add Python BIN folder to the path
99 99
100 You have to add the Python folder to the path, you can do it manually 100 You have to add the Python folder to the path, you can do it manually
101 (editing "PATH" environment variable) or using Windows Support Tools 101 (editing "PATH" environment variable) or using Windows Support Tools
118 118
119 Please substitute [your-python-path] with your Python installation path. 119 Please substitute [your-python-path] with your Python installation path.
120 Typically: C:\\Python27 120 Typically: C:\\Python27
121 121
122 Step 5 -- Kallithea folder structure 122 Step 5 -- Kallithea folder structure
123 ------------------------------------ 123 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
124 124
125 Create a Kallithea folder structure 125 Create a Kallithea folder structure
126 126
127 This is only a example to install Kallithea, you can of course change 127 This is only a example to install Kallithea, you can of course change
128 it. However, this guide will follow the proposed structure, so please 128 it. However, this guide will follow the proposed structure, so please
135 C:\Kallithea\Bin 135 C:\Kallithea\Bin
136 C:\Kallithea\Env 136 C:\Kallithea\Env
137 C:\Kallithea\Repos 137 C:\Kallithea\Repos
138 138
139 Step 6 -- Install virtualenv 139 Step 6 -- Install virtualenv
140 ---------------------------- 140 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
141 141
142 Install Virtual Env for Python 142 Install Virtual Env for Python
143 143
144 Navigate to: http://www.virtualenv.org/en/latest/index.html#installation 144 Navigate to: http://www.virtualenv.org/en/latest/index.html#installation
145 Right click on "virtualenv.py" file and choose "Save link as...". 145 Right click on "virtualenv.py" file and choose "Save link as...".
155 155
156 (--no-site-packages is now the default behaviour of virtualenv, no need 156 (--no-site-packages is now the default behaviour of virtualenv, no need
157 to include it) 157 to include it)
158 158
159 Step 7 -- Install Kallithea 159 Step 7 -- Install Kallithea
160 --------------------------- 160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
161 161
162 Finally, install Kallithea 162 Finally, install Kallithea
163 163
164 Close previously opened command prompt/s, and open a Visual Studio 2008 164 Close previously opened command prompt/s, and open a Visual Studio 2008
165 Command Prompt (**IMPORTANT!!**). To do so, go to Start Menu, and then open 165 Command Prompt (**IMPORTANT!!**). To do so, go to Start Menu, and then open
193 (long step, please wait until fully complete) 193 (long step, please wait until fully complete)
194 194
195 Some warnings will appear, don't worry as they are normal. 195 Some warnings will appear, don't worry as they are normal.
196 196
197 Step 8 -- Configuring Kallithea 197 Step 8 -- Configuring Kallithea
198 ------------------------------- 198 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
199 199
200 steps taken from http://packages.python.org/Kallithea/setup.html 200 steps taken from http://packages.python.org/Kallithea/setup.html
201 201
202 You have to use the same Visual Studio 2008 command prompt as Step7, so 202 You have to use the same Visual Studio 2008 command prompt as Step7, so
203 if you closed it reopen it following the same commands (including the 203 if you closed it reopen it following the same commands (including the
231 231
232 If you make some mistake and the script does not end, don't worry, start 232 If you make some mistake and the script does not end, don't worry, start
233 it again. 233 it again.
234 234
235 Step 9 -- Running Kallithea 235 Step 9 -- Running Kallithea
236 --------------------------- 236 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
237 237
238 In the previous command prompt, being in the C:\\Kallithea\\Bin folder, 238 In the previous command prompt, being in the C:\\Kallithea\\Bin folder,
239 just type:: 239 just type::
240 240
241 paster serve production.ini 241 paster serve production.ini
261 261
262 - https://groups.google.com/group/rhodecode/msg/c433074e813ffdc4 262 - https://groups.google.com/group/rhodecode/msg/c433074e813ffdc4
263 263
264 264
265 Upgrading 265 Upgrading
266 ::::::::: 266 ---------
267 267
268 Stop running Kallithea 268 Stop running Kallithea
269 Open a CommandPrompt like in Step7 (VS2008 path + activate) and type:: 269 Open a CommandPrompt like in Step7 (VS2008 path + activate) and type::
270 270
271 easy_install -U kallithea 271 easy_install -U kallithea