Edgewall Software

Changes between Version 147 and Version 148 of TracOnWindows


Ignore:
Timestamp:
Feb 13, 2006, 12:30:26 AM (18 years ago)
Author:
jornh
Comment:

Point to a better version of windows commit hook scripts + move the Python install step

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows

    v147 v148  
    2020 * [http://www.python.org Python 2.3.5]
    2121 * [http://httpd.apache.org/ Apache 2.0.54 or 2.0.55]
    22  * [http://subversion.tigris.org Subversion 1.2.0]
    23  * [http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&filter=_py.zip  Python 2.3 Bindings for subversion 1.2.0]
     22 * [http://subversion.tigris.org Subversion 1.2.x]
     23 * [http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&filter=_py.zip  Python 2.3 Bindings for subversion 1.2.x]
     24 * [http://initd.org/pub/software/pysqlite/releases/1.1/1.1.6/pysqlite-1.1.6.win32-py2.3.exe PySQLite 1.1.6-py2.3]
     25 * [http://www.sqlite.org SQLite 3.2.2] (optional)
    2426 * [http://www.egenix.com/files/python/eGenix-mx-Extensions.html eGenix.com mx Extensions for Python] ''(only required if using PostgreSQL)''
    25  * [http://sourceforge.net/project/showfiles.php?group_id=38414 docutils 0.3.9] (Optional)
    26  * [http://www.sqlite.org SQLite 3.2.2] (optional)
    27  * [http://initd.org/pub/software/pysqlite/releases/1.1/1.1.6/pysqlite-1.1.6.win32-py2.3.exe PySQLite 1.1.6-py2.3]
     27 * [http://sourceforge.net/project/showfiles.php?group_id=38414 docutils 0.3.9] (optional)
    2828
    2929'''Please update this Wiki page if you find it is different from your experience.'''
     
    4040
    4141=== Install Subversion Pre-Requisites ===
    42 2. Install [http://www.python.org/ Python ]
    43 
    44   ''Please use Python 2.3 and not 2.4, because the Subversion bindings for Python (that are a few lines down) currently are only available for 2.3 ([http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&filter=_py.zip look here for the current status of the bindings])''
    45 
    46   ''If you desperately want it to work with Python 2.4, this trick seems to work.
    47   Install the Subversion bindings for Python 2.3 in the Python 2.4 site-packages directory.
    48   Find all dll files inte the directory \site-packages\libsvn with a name in the form: _*.dll.
    49   Now use your hexeditor of choice and replace all instances of "python23.dll" with "python24.dll" in the dll files (There's just one occurance in each file).''
    50 
    51   [[br]]Add C:\Python23 to the path
    52 
    53 3. Install [http://httpd.apache.org/ Apache ] (If you are running IIS, shut it down before installing Apache, and change its status to 'Manual' or 'Disable')
    54 
    55 4. Install [http://subversion.tigris.org/ Subversion ]
     422. Install [http://httpd.apache.org/ Apache ] (If you are running IIS, shut it down before installing Apache, and change its status to 'Manual' or 'Disable')
     43
     443. Install [http://subversion.tigris.org/ Subversion ]
    5645
    5746Note: Be sure to have the MSVCP60.DLL in your PATH, otherwise Apache will refuse to start with the SVN module.
    5847
    5948=== Create Repository ===
    60 5. Create repository directory
     494. Create repository directory
    6150{{{
    6251C:\> md c:\svn
    6352}}}
    6453
    65 6. Create repository
     545. Create repository
    6655{{{
    6756C:\> svnadmin create c:\svn\repo1
    6857}}}
    6958
    70 7. Create skeleton repository structure in c:\temp\project
     596. Create skeleton repository structure in c:\temp\project
    7160  Example:
    7261{{{
     
    8372}}}
    8473
    85 8. Build repository tree
     747. Build repository tree
    8675{{{
    8776C:\> svn import c:\temp\project file:///c:/svn/repo1 -m "Initial Load"
    8877}}}
    8978
    90 9. Create local sandbox
     798. Create local sandbox
    9180{{{
    9281C:\> svn checkout file:///c:/svn/repo1 c:\project
     
    9483
    9584=== Configure Apache ===
    96 10. Copy Subversion module files for Apache
     859. Copy Subversion module files for Apache
    9786{{{
    9887C:\> copy c:\Progra~1\Subver~1\bin\*.so c:\progra~1\apache~1\apache2\modules
     
    10392}}}
    10493
    105 11. Create password file (w/user 'admin')
     9410. Create password file (w/user 'admin')
    10695
    10796{{{
     
    10998}}}
    11099
    111 12. Configure Apache (edit httpd.conf)
    112   12.1. [http://www.webdevelopersjournal.com/software/apache_more_config.html Restrict access/lockdown ] as appropriate
    113 
    114   12.2. Add Modules to httpd.conf
    115 
    116     12.1.1. Uncomment:
     10011. Configure Apache (edit httpd.conf)
     101  11.1. [http://www.webdevelopersjournal.com/software/apache_more_config.html Restrict access/lockdown ] as appropriate
     102
     103  11.2. Add Modules to httpd.conf
     104
     105    11.1.1. Uncomment:
    117106{{{
    118107LoadModule dav_module modules/mod_dav.so
    119108LoadModule dav_fs_module modules/mod_dav_fs.so
    120109}}}
    121     12.1.2. Add (after):
     110    11.1.2. Add (after):
    122111{{{
    123112# Subversion
     
    126115}}}
    127116
    128     12.1.3. Install Apache as Service (IF NOT WORKING when installed to C:)
     117    11.1.3. Install Apache as Service (IF NOT WORKING when installed to C:)
    129118{{{
    130119C:\Progra~1\Apache~1\Apache2\bin\Apache -k install -n "Apache2"
    131120}}}
    132121
    133   12.3. Add location root for multiple repositories
     122  11.3. Add location root for multiple repositories
    134123{{{
    135124# Subversion
     
    146135}}}
    147136
    148   12.4. Add cgi handler, Uncomment:
     137  11.4. Add cgi handler, Uncomment:
    149138{{{
    150139AddHandler cgi-script .cgi
     
    152141
    153142 
    154 13. Restart Apache
    155 
    156 14. Test your install of Subversion
     14312. Restart Apache
     144
     14513. Test your install of Subversion
    157146  http://[hostname]:80/svn/repo1
    158147
     
    161150=== Create Users ===
    162151
    163 15. Add users to password file
     15214. Add users to password file
    164153{{{
    165154C:\> c:\progra~1\apache~1\apache2\bin\htpasswd -m c:\svn\.htaccess user
     
    169158
    170159(Please note: pay attention to download '''exactly''' the versions mentioned here. Do '''not''' simply download the latest stable versions. Otherwise you will probably run into several issues.)
     160
     16115. Install [http://www.python.org/ Python ]
     162
     163  ''Please use Python 2.3 and not 2.4, because the Subversion bindings for Python (that are a few lines down) currently are only available for 2.3 ([http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&filter=_py.zip look here for the current status of the bindings])''
     164
     165  ''If you desperately want it to work with Python 2.4, this trick seems to work.
     166  Install the Subversion bindings for Python 2.3 in the Python 2.4 site-packages directory.
     167  Find all dll files inte the directory \site-packages\libsvn with a name in the form: _*.dll.
     168  Now use your hexeditor of choice and replace all instances of "python23.dll" with "python24.dll" in the dll files (There's just one occurance in each file).''
     169
     170  [[br]]Add C:\Python23 to the path
    171171
    17217216. Install Subversion Python Bindings
     
    383383
    384384=== Optional pre- and post-commit hooks for Subversion ===
    385 32. In order to use pre- and post-commit hooks with Subversion on Windows, please refer to diff files described in #897, as the changes are not commited into the trunk as of version 0.8-dev.
     38532. In order to use pre- and post-commit hooks with Subversion on Windows, please refer to the files described in #1602, as the these files are not commited into the trunk as of version 0.9-dev.
    386386
    387387=== Finally... ===