Ignore:
Timestamp:
3 Jun 2011, 09:16:33 (13 years ago)
Author:
Henrik Bettermann
Message:

Restructure text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/docs/source/userdocs/install_on_windows.rst

    r6269 r6270  
    1 Installing waeup.sirp on Windows 2000, XP, Vista, Windows 7
    2 ***********************************************************
     1Installing waeup.sirp on Windows (XP, 2000, Vista, 7)
     2*****************************************************
    33
    4 1. Install Python. Currently, version 2.6.x and version 2.5.x are supported. Note that these links point to installers for the ordinary x86 processor architecture. We recommend to download the follwoing software and install into into C:\Python26:
     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``:
    57
    6 http://www.python.org/ftp/python/2.6.0/python-2.6.0.msi
     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
    711
    8 http://sourceforge.net/project/downloading.php?group_id=78018&filename=pywin32-213.win32-py2.6.exe
     12**Step 2**. Add ``C:\Python26\Scripts\`` to your system path (see instruction below).
    913
    10 http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11.win32-py2.6.exe
     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:\`` ::
    1116
    12 3. Add 'C:\Python26\Scripts\'to your system path (see instruction below)
     17  C:\[any_path]> cd c:\
    1318
    14 4. Open up a command window and change to the folder where you want to place the sandbox that will contain your SIRP project. In this HowTo we will assume this folder is C:\
     19**Step 4**. Install virtualenv by using the command::
    1520
    16 C:\[any_path]> cd c:\
     21 C:\> easy_install virtualenv
    1722
    18 5. Install virtualenv by using the command:
     23**Step 5**. Create an isolated environment (sandbox) using the command::
    1924
    20 C:\> easy_install virtualenv
     25 C:\> virtualenv winsirp
    2126
    22 6. Create an isolated environment (sandbox) using the command:
     27**Step 6**. Activate the environment::
    2328
    24 C:\> virtualenv winsirp
    25 
    26 7. Activate the environment:
    27 
    28 C:\> cd winsirp
    29 C:\winsirp> Scripts\activate
     29 C:\> cd winsirp
     30 C:\winsirp> Scripts\activate
    3031
    3132Note that the system prompt has changed.
    3233
    33 8. Copy the waeup.sirp folder into C:\winsirp
     34**Step 7**. Copy the ``waeup.sirp`` folder into ``C:\winsirp``.
    3435
    35 9. Run the bootstrap script:
     36**Step 8**. Run the bootstrap script::
    3637
    37 (winsirp) C:\winsirp\waeup.sirp> cd waeup.sirp
    38 (winsirp) C:\winsirp\waeup.sirp> python bootstrap\bootstrap.py -c buildout-windows.cfg
     38 (winsirp) C:\winsirp\waeup.sirp> cd waeup.sirp
     39 (winsirp) C:\winsirp\waeup.sirp> python bootstrap\bootstrap.py -c buildout-windows.cfg
    3940
    40 10. Run buildout (this takes a while!):
     41**Step 9**. Run buildout (this takes a while)::
    4142
    42 C:\winsirp\waeup.sirp> bin\buildout.exe -c buildout-windows.cfg
     43 C:\winsirp\waeup.sirp> bin\buildout.exe -c buildout-windows.cfg
    4344
    44 11. You can deactivate your environment again:
     45**Step 10**. You can deactivate your environment again::
    4546
    46 (winsirp) C:\winsirp\waeup.sirp> ..\Scripts\deactivate
     47 (winsirp) C:\winsirp\waeup.sirp> ..\Scripts\deactivate
    4748
    48 11. Start your SIRP instance:
     49**Step 11**. Start your SIRP::
    4950
    50 C:\winsirp\waeup.sirp> bin\paster serve parts\etc\deploy.ini
     51 C:\winsirp\waeup.sirp> bin\paster serve parts\etc\deploy.ini
    5152
    52 or from anywhere in your system:
     53or from anywhere in your system::
    5354
    54 C:\[any_path]> C:\winsirp\trunk\bin\paster serve C:\winsirp\trunk\parts\etc\deploy.ini
     55 C:\[any_path]> C:\winsirp\trunk\bin\paster serve C:\winsirp\trunk\parts\etc\deploy.ini
    5556
    56 12. Visit the SIRP website and creata your university instance:
     57**Step 12**. Visit the SIRP website and creata your university instance:
    5758
    58 http://localhost:8080
     59| http://localhost:8080
     60| user name: grok
     61| password: grok
    5962
    60 User name: grok
    61 Password: grok
     63Change system path in Windows (XP, 2000, Vista, 7)
     64--------------------------------------------------
    6265
     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.)
    6367
     68**Step 2**. Choose Properties from the context menu. Alternatively, you can double-click on the System icon in the Control Panel.
    6469
    65 Change system path in Windows 2000, XP, Vista, Windows 7
    66 ********************************************************
    67 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.)
     70**Step 3**. Click the Advanced tab or "Advanced system settings" on Windows Vista or Windows 7
    6871
    69 2. Choose Properties from the context menu. Alternatively, you can double-click on the System icon in the Control Panel.
     72**Step 4**. Click the Environment Variables button.
    7073
    71 4. Click the Advanced tab or "Advanced system settings" on Windows Vista or Windows 7
     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.
    7275
    73 5. Click the Environment Variables button.
    74 
    75 6. 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.
    76 
    77 7. Reboot Windows
     76**Step 6**. Reboot Windows
Note: See TracChangeset for help on using the changeset viewer.