source: main/waeup.sirp/trunk/docs/source/userdocs/install_on_windows.rst @ 6270

Last change on this file since 6270 was 6270, checked in by Henrik Bettermann, 13 years ago

Restructure text.

File size: 2.7 KB
Line 
1Installing waeup.sirp on Windows (XP, 2000, Vista, 7)
2*****************************************************
3
4**Step 1.** Install Python. Currently, version 2.6.x and version 2.5.x are supported.
5Note that these links point to installers for the ordinary x86 processor architecture.
6We recommend to download the follwoing software and install into into ``C:\Python26``:
7
8| http://www.python.org/ftp/python/2.6.0/python-2.6.0.msi
9| http://sourceforge.net/project/downloading.php?group_id=78018&filename=pywin32-213.win32-py2.6.exe
10| http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11.win32-py2.6.exe
11
12**Step 2**. Add ``C:\Python26\Scripts\`` to your system path (see instruction below).
13
14**Step 3**. Open up a command window and change to the folder where you want to place the sandbox
15that will contain your SIRP project. In this HowTo we will assume this folder is ``C:\`` ::
16
17  C:\[any_path]> cd c:\
18
19**Step 4**. Install virtualenv by using the command::
20
21 C:\> easy_install virtualenv
22
23**Step 5**. Create an isolated environment (sandbox) using the command::
24
25 C:\> virtualenv winsirp
26
27**Step 6**. Activate the environment::
28
29 C:\> cd winsirp
30 C:\winsirp> Scripts\activate
31
32Note that the system prompt has changed.
33
34**Step 7**. Copy the ``waeup.sirp`` folder into ``C:\winsirp``.
35
36**Step 8**. Run the bootstrap script::
37
38 (winsirp) C:\winsirp\waeup.sirp> cd waeup.sirp
39 (winsirp) C:\winsirp\waeup.sirp> python bootstrap\bootstrap.py -c buildout-windows.cfg
40
41**Step 9**. Run buildout (this takes a while)::
42
43 C:\winsirp\waeup.sirp> bin\buildout.exe -c buildout-windows.cfg
44
45**Step 10**. You can deactivate your environment again::
46
47 (winsirp) C:\winsirp\waeup.sirp> ..\Scripts\deactivate
48
49**Step 11**. Start your SIRP::
50
51 C:\winsirp\waeup.sirp> bin\paster serve parts\etc\deploy.ini
52
53or from anywhere in your system::
54
55 C:\[any_path]> C:\winsirp\trunk\bin\paster serve C:\winsirp\trunk\parts\etc\deploy.ini
56
57**Step 12**. Visit the SIRP website and creata your university instance:
58
59| http://localhost:8080
60| user name: grok
61| password: grok
62
63Change system path in Windows (XP, 2000, Vista, 7)
64--------------------------------------------------
65
66**Step 1**. Right-click on the My Computer icon. (Under Windows XP, Vista, or Windows 7, the My Computer Icon may be located in the start menu.)
67
68**Step 2**. Choose Properties from the context menu. Alternatively, you can double-click on the System icon in the Control Panel.
69
70**Step 3**. Click the Advanced tab or "Advanced system settings" on Windows Vista or Windows 7
71
72**Step 4**. Click the Environment Variables button.
73
74**Step 5**. Click on the variable called 'Path' and then click on Edit. Now add 'C:\Python26\Scripts\' to the value of the variable, using a semi-colon as a separator.
75
76**Step 6**. Reboot Windows
Note: See TracBrowser for help on using the repository browser.