Edgewall Software

Changes between Version 294 and Version 295 of TracOnWindows


Ignore:
Timestamp:
Nov 6, 2009, 12:52:46 AM (14 years ago)
Author:
trac@…
Comment:

Updated instructions to Python 2.6 - verified by following instructions to install.

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows

    v294 v295  
    22#!div style="margin-top: .5em; padding: 0 1em; background-color: #ffd; border:1px outset #ddc;"
    33
    4 '''Please Note:''' These instructions are for '''Trac 0.11'''
     4'''Please Note:''' These instructions are for '''Trac 0.11.5'''
    55
    66The instructions for Trac 0.10 can be found at the ["0.10/TracOnWindows"] page.
     
    99
    1010= Trac On Windows =
    11 ''Last modified: 2009-08-21 16:55:20 GMT''
     11''Last modified: 2009-11-05 01:44:20 GMT''
    1212
    1313The following instructions use 32-bit software packages. The 64-bit software packages do not yet integrate seamlessly with each other, so are not recommended.
    1414[[PageOutline(2-3)]]
    1515== 1. Install Python ==
    16 Although Python 2.5.x is not the latest version of Python available, it is the latest version supported by all the software components needed to run Trac.
    17  1. Download [http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi Python-2.5.4.msi] to your computer, and run it (double-click on ''python-2.5.4.msi'' in your download folder).
     16 1. Download [http://www.python.org/ftp/python/2.6.4/python-2.6.4.msi Python-2.6.4.msi] to your computer, and run it (double-click on ''python-2.6.4.msi'' in your download folder).
    1817 1. Click the '''__R__un''' button in the ''Open File - Security Warning'' dialogue box, if it appears.
    1918 1. Click the '''Next >''' button to ''Install for all users''
    20  1. Click the '''Next >''' button to use ''C:\Python25'' as the destination directory
     19 1. Click the '''Next >''' button to use ''C:\Python26'' as the destination directory
    2120 1. Click the '''Next >''' button to install all of the Python components
    2221 1. Wait for the installation to complete, and then click the '''Finish''' button
    23  1. Add the install directory (default is '''C:\Python25'''), and '''C:\Python25\Scripts''' directory to the windows '''%PATH%''' environment variable (dont worry if it doesn't exist now):
     22 1. Add the install directory (default is '''C:\Python26'''), and '''C:\Python26\Scripts''' directory to the windows '''%PATH%''' environment variable (dont worry if it doesn't exist now):
    2423  a. Click the Windows '''Start''' button
    2524  a. Right-click the '''My Computer''' icon
     
    2928  a. Scroll down the ''__S__ystem variables'' listbox to the '''Path''' ''Variable''
    3029  a. Select the '''Path''' ''Variable'' and click the ''Ed__i__t'' button below it - DO NOT click on the edit button above
    31   a. Scroll to the right-hand end of the ''Variable __v__alue'' field, and type ''';C:\Python25;C:\Python25\Scripts'''
     30  a. Scroll to the right-hand end of the ''Variable __v__alue'' field, and type ''';C:\Python26;C:\Python26\Scripts'''
    3231  a. Click the '''OK''' button in the ''Edit System Variable'' window
    3332  a. Click the '''OK''' button in the ''Environment Variables'' window
     
    3534
    3635== 2. Setuptools ==
    37  1. Download [http://peak.telecommunity.com/dist/ez_setup.py ez_setup.py] from [http://peak.telecommunity.com/DevCenter/setuptools PEAK] (Python Enterprise Application Kit) to your Python (default is '''C:\Python25''') directory.
    38  1. Open a command window
    39   a. Click the Windows '''Start''' button
    40   a. Click '''__R__un'''[[BR]]A dialogue box titled ''Run'' should appear
    41   a. Type '''cmd''' in to the ''__O__pen'' drop-down field, and click the '''OK''' button[[BR]]A black window should appear
    42  1. Type '''cd C:\Python25''' and press the ''Return'' key
     36 1. Download [http://peak.telecommunity.com/dist/ez_setup.py ez_setup.py] from [http://peak.telecommunity.com/DevCenter/setuptools PEAK] (Python Enterprise Application Kit) to your Python (default is '''C:\Python26''') directory.
     37 1. Open a command window
     38  a. Click the Windows '''Start''' button
     39  a. Click '''__R__un'''[[BR]]A dialogue box titled ''Run'' should appear
     40  a. Type '''cmd''' in to the ''__O__pen'' drop-down field, and click the '''OK''' button[[BR]]A black window should appear
     41 1. Type '''cd C:\Python26''' and press the ''Return'' key
    4342 1. Type '''ez_setup.py''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared
    4443
     
    4847
    4948=== Subversion Server & Client ===
    50  1. Download [http://subversion.tigris.org/files/documents/15/46485/Setup-Subversion-1.6.4.msi Setup-Subversion-1.6.4.msi] to your computer, and run it (double-click on ''Setup-Subversion-1.6.4.msi'' in your download folder).
     49 1. Download [http://subversion.tigris.org/files/documents/15/46906/Setup-Subversion-1.6.6.msi Setup-Subversion-1.6.6.msi] to your computer, and run it (double-click on ''Setup-Subversion-1.6.6.msi'' in your download folder).
    5150 1. Click the '''__R__un''' button in the ''Open File - Security Warning'' dialogue box, if it appears.
    5251 1. Click the '''__N__ext''' button on the ''Welcome to the Subversion Setup Wizard'' screen
     
    7069  a. Click '''__R__un'''[[BR]]A dialogue box titled ''Run'' should appear
    7170  a. Type '''cmd''' in to the ''__O__pen'' drop-down field, and click the '''OK''' button[[BR]]A black window should appear
    72  1. Type '''cd C:\Python25\Scripts''' and press the ''Return'' key
    73  1. Type '''easy_install -Z !http://subversion.tigris.org/files/documents/15/46482/svn-python-1.6.4.win32-py2.5.exe''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared
    74 
    75 == 4. mod_python (optional) ==
     71 1. Type '''cd C:\Python26\Scripts''' and press the ''Return'' key
     72 1. Type '''easy_install -Z !http://subversion.tigris.org/files/documents/15/46888/svn-python-1.6.6.win32-py2.6.exe''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared
     73
     74== 4. mod_python (optional, and only available for Python v2.5 right now) ==
    7675mod_python is needed if you want to use Apache HTTP server.
    7776 1. Download [http://apache.deathculture.net/httpd/modpython/win/3.3.1/mod_python-3.3.1.win32-py2.5-Apache2.2.exe mod_python-3.3.1.win32-py2.5-Apache2.2.exe] to your computer from [http://httpd.apache.org/modules/python-download.cgi Apache], and run it (double-click on ''mod_python-3.3.1.win32-py2.5-Apache2.0.exe'' in your download folder).
     
    115114 1. Choose '''__ONE__''' of the following options:
    116115=== Option 1 ===
    117  1. Type '''cd C:\Python25\Scripts''' and press the ''Return'' key
     116 1. Type '''cd C:\Python26\Scripts''' and press the ''Return'' key
    118117 1. Type '''easy_install Trac''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared
    119118=== Option 2 ===
     
    125124=== Configure Trac environment ===
    126125 1. Type '''mkdir C:\trac''' and press the ''Return'' key
    127  1. Type '''cd C:\Python25\Scripts''' and press the ''Return'' key
     126 1. Type '''cd C:\Python26\Scripts''' and press the ''Return'' key
    128127 1. Type '''trac-admin \trac initenv''' and press the ''Return'' key
    129128 1. Type in your project name (keep it succinct) and press the ''Return'' key
     
    143142  a. Click '''__R__un'''[[BR]]A dialogue box titled ''Run'' should appear
    144143  a. Type '''cmd''' in to the ''__O__pen'' drop-down field, and click the '''OK''' button[[BR]]A black window should appear
    145  1. Type '''cd C:\Python25\Scripts''' and press the ''Return'' key
     144 1. Type '''cd C:\Python26\Scripts''' and press the ''Return'' key
    146145 1. Type '''easy_install !http://trac-hacks.org/svn/accountmanagerplugin/trunk''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared
    147146 1. Type '''trac-admin C:\trac permission add anonymous TRAC_ADMIN''' and press the ''Return'' key