Mercurial > kallithea
annotate docs/installation_win_old.rst @ 5120:67ffe5427fd5 stable
api_keys: Update 'New api key' label target so clicking the label focuses the input element
Like d9747a04c74a but for my account.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 13 May 2015 01:16:48 +0200 |
parents | 64b1a2320bcb |
children | 2aeaf6367929 |
rev | line source |
---|---|
4814
d95ea48af67b
docs: rename docs/installation_win.rst to docs/installation_win_old.rst, preparing for new docs
Mads Kiilerich <madski@unity3d.com>
parents:
4522
diff
changeset
|
1 .. _installation_win_old: |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
4815
64b1a2320bcb
docs: update Windows installation documentation for Windows 7/Server 2008 R2 and newer
Denis Blanchette <dblanchette@coveo.com>
parents:
4814
diff
changeset
|
4 Installation and upgrade on Windows (XP/Vista/Server 2003/Server 2008) |
64b1a2320bcb
docs: update Windows installation documentation for Windows 7/Server 2008 R2 and newer
Denis Blanchette <dblanchette@coveo.com>
parents:
4814
diff
changeset
|
5 ====================================================================== |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 |
4815
64b1a2320bcb
docs: update Windows installation documentation for Windows 7/Server 2008 R2 and newer
Denis Blanchette <dblanchette@coveo.com>
parents:
4814
diff
changeset
|
7 First time install |
64b1a2320bcb
docs: update Windows installation documentation for Windows 7/Server 2008 R2 and newer
Denis Blanchette <dblanchette@coveo.com>
parents:
4814
diff
changeset
|
8 :::::::::::::::::: |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
10 Target OS: Windows XP SP3 32bit English (Clean installation) |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
11 + All Windows Updates until 24-may-2012 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 |
2838
ba09e335f266
updated windows installation with note of 32 bit system used in example
Marcin Kuzminski <marcin@python-works.com>
parents:
2358
diff
changeset
|
13 .. note:: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
14 |
2838
ba09e335f266
updated windows installation with note of 32 bit system used in example
Marcin Kuzminski <marcin@python-works.com>
parents:
2358
diff
changeset
|
15 This installation is for 32bit systems, for 64bit windows you might need |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
16 to download proper 64bit versions of the different packages(Windows Installer, Win32py extensions) |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
17 plus some extra tweaks. |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
18 These extra steps haven been marked as "64bit". |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
19 Tested on Windows Server 2008 R2 SP1, 9-feb-2013. |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
20 If you run into any 64bit related problems, please check these pages: |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
21 - http://blog.victorjabur.com/2011/06/05/compiling-python-2-7-modules-on-windows-32-and-64-using-msvc-2008-express/ |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
22 - http://bugs.python.org/issue7511 |
2838
ba09e335f266
updated windows installation with note of 32 bit system used in example
Marcin Kuzminski <marcin@python-works.com>
parents:
2358
diff
changeset
|
23 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 Step1 - Install Visual Studio 2008 Express |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 ------------------------------------------ |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
27 |
4522
a9a1560dad79
setup: clarify that we only support 2.6 and 2.7
Mads Kiilerich <madski@unity3d.com>
parents:
4192
diff
changeset
|
28 Optional: You can also install MinGW, but VS2008 installation is easier. |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
30 Download "Visual C++ 2008 Express Edition with SP1" from: |
4815
64b1a2320bcb
docs: update Windows installation documentation for Windows 7/Server 2008 R2 and newer
Denis Blanchette <dblanchette@coveo.com>
parents:
4814
diff
changeset
|
31 http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B738298/VS2008ExpressWithSP1ENUX1504728.iso |
64b1a2320bcb
docs: update Windows installation documentation for Windows 7/Server 2008 R2 and newer
Denis Blanchette <dblanchette@coveo.com>
parents:
4814
diff
changeset
|
32 (if not found or relocated, google for "visual studio 2008 express" for updated link. This link was taken from http://stackoverflow.com/questions/15318560/visual-c-2008-express-download-link-dead) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
33 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
34 You can also download full ISO file for offline installation, just |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
35 choose "All - Offline Install ISO image file" in the previous page and |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
36 choose "Visual C++ 2008 Express" when installing. |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 |
3244
23c816fd6afb
fixes #741 add note that VS2008 is the ONLY supported Visual Studio version
Marcin Kuzminski <marcin@python-works.com>
parents:
3224
diff
changeset
|
38 .. note:: |
3267
7b74079beec9
coding style: fix trailing and leading spaces and tabs
Mads Kiilerich <madski@unity3d.com>
parents:
3244
diff
changeset
|
39 |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
40 Using other versions of Visual Studio will lead to random crashes. |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
41 You must use Visual Studio 2008!" |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
42 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
43 .. note:: |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
44 |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
45 Silverlight Runtime and SQL Server 2008 Express Edition are not |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
46 required, you can uncheck them |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
47 |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
48 .. note:: |
3413
d79f3505549e
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
3365
diff
changeset
|
49 |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
50 64bit: You also need to install the Microsoft Windows SDK for .NET 3.5 SP1 (.NET 4.0 won't work). |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
51 Download from: http://www.microsoft.com/en-us/download/details.aspx?id=3138 |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
52 |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
53 .. note:: |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
54 |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
55 64bit: You also need to copy and rename a .bat file to make the Visual C++ compiler work. |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
56 I am not sure why this is not necessary for 32bit. |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
57 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 |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
58 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
59 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
60 Step2 - Install Python |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
61 ---------------------- |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
62 |
4522
a9a1560dad79
setup: clarify that we only support 2.6 and 2.7
Mads Kiilerich <madski@unity3d.com>
parents:
4192
diff
changeset
|
63 Install Python 2.x.y (x = 6 or 7) x86 version (32bit). DO NOT USE A 3.x version. |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
64 Download Python 2.x.y from: |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
65 http://www.python.org/download/ |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
66 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
67 Choose "Windows Installer" (32bit version) not "Windows X86-64 |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
68 Installer". While writing this guide, the latest version was v2.7.3. |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
69 Remember the specific major and minor version installed, because it will |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
70 be needed in the next step. In this case, it is "2.7". |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
71 |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
72 .. note:: |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
73 |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
74 64bit: Just download and install the 64bit version of python. |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
75 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
76 Step3 - Install Win32py extensions |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
77 ---------------------------------- |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
78 |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
79 Download pywin32 from: |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
80 http://sourceforge.net/projects/pywin32/files/ |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
81 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
82 - Click on "pywin32" folder |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
83 - Click on the first folder (in this case, Build 217, maybe newer when you try) |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
84 - Choose the file ending with ".win32-py2.x.exe" -> x being the minor |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
85 version of Python you installed (in this case, 7) |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
86 When writing this guide, the file was: |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
87 http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/pywin32-217.win32-py2.7.exe/download |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
88 |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
89 .. note:: |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
90 |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
91 64bit: Download and install the 64bit version. |
3413
d79f3505549e
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
3365
diff
changeset
|
92 At the time of writing you can find this at: |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
93 http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win-amd64-py2.7.exe/download |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
94 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
95 Step4 - Python BIN |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
96 ------------------ |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
97 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
98 Add Python BIN folder to the path |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
99 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
100 You have to add the Python folder to the path, you can do it manually |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
101 (editing "PATH" environment variable) or using Windows Support Tools |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
102 that came preinstalled in Vista/7 and can be installed in Windows XP. |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
103 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
104 - Using support tools on WINDOWS XP: |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
105 If you use Windows XP you can install them using Windows XP CD and |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
106 navigating to \SUPPORT\TOOLS. There, execute Setup.EXE (not MSI). |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
107 Afterwards, open a CMD and type:: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
108 |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
109 SETX PATH "%PATH%;[your-python-path]" -M |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
110 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
111 Close CMD (the path variable will be updated then) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
112 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
113 - Using support tools on WINDOWS Vista/7: |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
114 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
115 Open a CMD and type:: |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
116 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
117 SETX PATH "%PATH%;[your-python-path]" /M |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
118 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
119 Please substitute [your-python-path] with your Python installation path. |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
120 Typically: C:\\Python27 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
121 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
122 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
123 Step5 - Kallithea folder structure |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
124 ---------------------------------- |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
125 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
126 Create a Kallithea folder structure |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
127 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
128 This is only a example to install Kallithea, you can of course change |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
129 it. However, this guide will follow the proposed structure, so please |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
130 later adapt the paths if you change them. My recommendation is to use |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
131 folders with NO SPACES. But you can try if you are brave... |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
132 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
133 Create the following folder structure:: |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
134 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
135 C:\Kallithea |
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
136 C:\Kallithea\Bin |
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
137 C:\Kallithea\Env |
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
138 C:\Kallithea\Repos |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
139 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
140 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
141 Step6 - Install virtualenv |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
142 --------------------------- |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
143 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
144 Install Virtual Env for Python |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
145 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
146 Navigate to: http://www.virtualenv.org/en/latest/index.html#installation |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
147 Right click on "virtualenv.py" file and choose "Save link as...". |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
148 Download to C:\\Kallithea (or whatever you want) |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
149 (the file is located at |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
150 https://raw.github.com/pypa/virtualenv/master/virtualenv.py) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
151 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
152 Create a virtual Python environment in C:\\Kallithea\\Env (or similar). To |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
153 do so, open a CMD (Python Path should be included in Step3), navigate |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
154 where you downloaded "virtualenv.py", and write:: |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
155 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
156 python virtualenv.py C:\Kallithea\Env |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
157 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
158 (--no-site-packages is now the default behaviour of virtualenv, no need |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
159 to include it) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
160 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
161 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
162 Step7 - Install Kallithea |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
163 ------------------------- |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
164 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
165 Finally, install Kallithea |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
166 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
167 Close previously opened command prompt/s, and open a Visual Studio 2008 |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
168 Command Prompt (**IMPORTANT!!**). To do so, go to Start Menu, and then open |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
169 "Microsoft Visual C++ 2008 Express Edition" -> "Visual Studio Tools" -> |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
170 "Visual Studio 2008 Command Prompt" |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
171 |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
172 .. note:: |
3365
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
173 |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
174 64bit: For 64bit you need to modify the shortcut that is used to start the |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
175 Visual Studio 2008 Command Prompt. Use right-mouse click to open properties. |
2dfefa385fde
sync docs changes from stable
Marcin Kuzminski <marcin@python-works.com>
parents:
3358
diff
changeset
|
176 |
3358
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
177 Change commandline from:: |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
178 |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
179 %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86 |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
180 |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
181 to:: |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
182 |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
183 %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" amd64 |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
184 |
321ca2e69004
installation win document updates
Marcin Kuzminski <marcin@python-works.com>
parents:
3267
diff
changeset
|
185 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
186 In that CMD (loaded with VS2008 PATHs) type:: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
187 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
188 cd C:\Kallithea\Env\Scripts (or similar) |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
189 activate |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
190 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
191 The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
192 (depending of your folder structure). Then type:: |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
193 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
194 pip install kallithea |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
195 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
196 (long step, please wait until fully complete) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
197 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
198 Some warnings will appear, don't worry as they are normal. |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
199 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
200 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
201 Step8 - Configuring Kallithea |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
202 ----------------------------- |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
203 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
204 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
205 steps taken from http://packages.python.org/Kallithea/setup.html |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
206 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
207 You have to use the same Visual Studio 2008 command prompt as Step7, so |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
208 if you closed it reopen it following the same commands (including the |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
209 "activate" one). When ready, just type:: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
210 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
211 cd C:\Kallithea\Bin |
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
212 paster make-config Kallithea production.ini |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
213 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
214 Then, you must edit production.ini to fit your needs (ip address, ip |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
215 port, mail settings, database, whatever). I recommend using NotePad++ |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
216 (free) or similar text editor, as it handles well the EndOfLine |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
217 character differences between Unix and Windows |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
218 (http://notepad-plus-plus.org/) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
219 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
220 For the sake of simplicity lets run it with the default settings. After |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
221 your edits (if any), in the previous Command Prompt, type:: |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
222 |
4185
aaa7c3331186
Rename paster command setup-rhodecode to setup-db
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
3700
diff
changeset
|
223 paster setup-db production.ini |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
224 |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
225 (this time a NEW database will be installed, you must follow a different |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
226 step to later UPGRADE to a newer Kallithea version) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
227 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
228 The script will ask you for confirmation about creating a NEW database, |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
229 answer yes (y) |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
230 The script will ask you for repository path, answer C:\\Kallithea\\Repos |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
231 (or similar) |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
232 The script will ask you for admin username and password, answer "admin" |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
233 + "123456" (or whatever you want) |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
234 The script will ask you for admin mail, answer "admin@xxxx.com" (or |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
235 whatever you want) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
236 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
237 If you make some mistake and the script does not end, don't worry, start |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
238 it again. |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
239 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
240 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
241 Step9 - Running Kallithea |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
242 ------------------------- |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
243 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
244 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
245 In the previous command prompt, being in the C:\\Kallithea\\Bin folder, |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
246 just type:: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
247 |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
248 paster serve production.ini |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
249 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
250 Open yout web server, and go to http://127.0.0.1:5000 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
251 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
252 It works!! :-) |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
253 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
254 Remark: |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
255 If it does not work first time, just Ctrl-C the CMD process and start it |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
256 again. Don't forget the "http://" in Internet Explorer |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
257 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
258 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
259 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
260 What this Guide does not cover: |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
261 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
262 - Installing Celery |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
263 - Running Kallithea as Windows Service. You can investigate here: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
264 |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
265 - http://pypi.python.org/pypi/wsgisvc |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
266 - http://ryrobes.com/python/running-python-scripts-as-a-windows-service/ |
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
267 - http://wiki.pylonshq.com/display/pylonscookbook/How+to+run+Pylons+as+a+Windows+service |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
268 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
269 - Using Apache. You can investigate here: |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
270 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
271 - https://groups.google.com/group/rhodecode/msg/c433074e813ffdc4 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
272 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
273 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
274 Upgrading |
4815
64b1a2320bcb
docs: update Windows installation documentation for Windows 7/Server 2008 R2 and newer
Denis Blanchette <dblanchette@coveo.com>
parents:
4814
diff
changeset
|
275 ::::::::: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
276 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
277 Stop running Kallithea |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
278 Open a CommandPrompt like in Step7 (VS2008 path + activate) and type:: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
279 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
280 easy_install -U kallithea |
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
281 cd \Kallithea\Bin |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
282 |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
283 { backup your production.ini file now} :: |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
284 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
285 paster make-config Kallithea production.ini |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
286 |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
287 (check changes and update your production.ini accordingly) :: |
3224
8b8edfc25856
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2838
diff
changeset
|
288 |
2358
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
289 paster upgrade-db production.ini (update database) |
69df04ee1e2b
added detailed step-by-step installation instruction for windows
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
290 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
291 Full steps in http://packages.python.org/Kallithea/upgrade.html |