Changes between Version 294 and Version 295 of TracOnWindows
- Timestamp:
- Nov 6, 2009, 12:52:46 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindows
v294 v295 2 2 #!div style="margin-top: .5em; padding: 0 1em; background-color: #ffd; border:1px outset #ddc;" 3 3 4 '''Please Note:''' These instructions are for '''Trac 0.11 '''4 '''Please Note:''' These instructions are for '''Trac 0.11.5''' 5 5 6 6 The instructions for Trac 0.10 can be found at the ["0.10/TracOnWindows"] page. … … 9 9 10 10 = Trac On Windows = 11 ''Last modified: 2009- 08-21 16:55:20 GMT''11 ''Last modified: 2009-11-05 01:44:20 GMT'' 12 12 13 13 The following instructions use 32-bit software packages. The 64-bit software packages do not yet integrate seamlessly with each other, so are not recommended. 14 14 [[PageOutline(2-3)]] 15 15 == 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). 18 17 1. Click the '''__R__un''' button in the ''Open File - Security Warning'' dialogue box, if it appears. 19 18 1. Click the '''Next >''' button to ''Install for all users'' 20 1. Click the '''Next >''' button to use ''C:\Python2 5'' as the destination directory19 1. Click the '''Next >''' button to use ''C:\Python26'' as the destination directory 21 20 1. Click the '''Next >''' button to install all of the Python components 22 21 1. Wait for the installation to complete, and then click the '''Finish''' button 23 1. Add the install directory (default is '''C:\Python2 5'''), 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): 24 23 a. Click the Windows '''Start''' button 25 24 a. Right-click the '''My Computer''' icon … … 29 28 a. Scroll down the ''__S__ystem variables'' listbox to the '''Path''' ''Variable'' 30 29 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:\Python2 5;C:\Python25\Scripts'''30 a. Scroll to the right-hand end of the ''Variable __v__alue'' field, and type ''';C:\Python26;C:\Python26\Scripts''' 32 31 a. Click the '''OK''' button in the ''Edit System Variable'' window 33 32 a. Click the '''OK''' button in the ''Environment Variables'' window … … 35 34 36 35 == 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:\Python2 5''') 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:\Python2 5''' and press the ''Return'' key36 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 43 42 1. Type '''ez_setup.py''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared 44 43 … … 48 47 49 48 === Subversion Server & Client === 50 1. Download [http://subversion.tigris.org/files/documents/15/46 485/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). 51 50 1. Click the '''__R__un''' button in the ''Open File - Security Warning'' dialogue box, if it appears. 52 51 1. Click the '''__N__ext''' button on the ''Welcome to the Subversion Setup Wizard'' screen … … 70 69 a. Click '''__R__un'''[[BR]]A dialogue box titled ''Run'' should appear 71 70 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:\Python2 5\Scripts''' and press the ''Return'' key73 1. Type '''easy_install -Z !http://subversion.tigris.org/files/documents/15/46 482/svn-python-1.6.4.win32-py2.5.exe''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared74 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) == 76 75 mod_python is needed if you want to use Apache HTTP server. 77 76 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). … … 115 114 1. Choose '''__ONE__''' of the following options: 116 115 === Option 1 === 117 1. Type '''cd C:\Python2 5\Scripts''' and press the ''Return'' key116 1. Type '''cd C:\Python26\Scripts''' and press the ''Return'' key 118 117 1. Type '''easy_install Trac''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared 119 118 === Option 2 === … … 125 124 === Configure Trac environment === 126 125 1. Type '''mkdir C:\trac''' and press the ''Return'' key 127 1. Type '''cd C:\Python2 5\Scripts''' and press the ''Return'' key126 1. Type '''cd C:\Python26\Scripts''' and press the ''Return'' key 128 127 1. Type '''trac-admin \trac initenv''' and press the ''Return'' key 129 128 1. Type in your project name (keep it succinct) and press the ''Return'' key … … 143 142 a. Click '''__R__un'''[[BR]]A dialogue box titled ''Run'' should appear 144 143 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:\Python2 5\Scripts''' and press the ''Return'' key144 1. Type '''cd C:\Python26\Scripts''' and press the ''Return'' key 146 145 1. Type '''easy_install !http://trac-hacks.org/svn/accountmanagerplugin/trunk''' and press the ''Return'' key[[BR]]Verify no messages containing errors appeared 147 146 1. Type '''trac-admin C:\trac permission add anonymous TRAC_ADMIN''' and press the ''Return'' key