Changes between Version 147 and Version 148 of TracOnWindows
- Timestamp:
- Feb 13, 2006, 12:30:26 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindows
v147 v148 20 20 * [http://www.python.org Python 2.3.5] 21 21 * [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) 24 26 * [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) 28 28 29 29 '''Please update this Wiki page if you find it is different from your experience.''' … … 40 40 41 41 === 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 ] 42 2. 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 44 3. Install [http://subversion.tigris.org/ Subversion ] 56 45 57 46 Note: Be sure to have the MSVCP60.DLL in your PATH, otherwise Apache will refuse to start with the SVN module. 58 47 59 48 === Create Repository === 60 5. Create repository directory49 4. Create repository directory 61 50 {{{ 62 51 C:\> md c:\svn 63 52 }}} 64 53 65 6. Create repository54 5. Create repository 66 55 {{{ 67 56 C:\> svnadmin create c:\svn\repo1 68 57 }}} 69 58 70 7. Create skeleton repository structure in c:\temp\project59 6. Create skeleton repository structure in c:\temp\project 71 60 Example: 72 61 {{{ … … 83 72 }}} 84 73 85 8. Build repository tree74 7. Build repository tree 86 75 {{{ 87 76 C:\> svn import c:\temp\project file:///c:/svn/repo1 -m "Initial Load" 88 77 }}} 89 78 90 9. Create local sandbox79 8. Create local sandbox 91 80 {{{ 92 81 C:\> svn checkout file:///c:/svn/repo1 c:\project … … 94 83 95 84 === Configure Apache === 96 10. Copy Subversion module files for Apache85 9. Copy Subversion module files for Apache 97 86 {{{ 98 87 C:\> copy c:\Progra~1\Subver~1\bin\*.so c:\progra~1\apache~1\apache2\modules … … 103 92 }}} 104 93 105 1 1. Create password file (w/user 'admin')94 10. Create password file (w/user 'admin') 106 95 107 96 {{{ … … 109 98 }}} 110 99 111 1 2. Configure Apache (edit httpd.conf)112 1 2.1. [http://www.webdevelopersjournal.com/software/apache_more_config.html Restrict access/lockdown ] as appropriate113 114 1 2.2. Add Modules to httpd.conf115 116 1 2.1.1. Uncomment:100 11. 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: 117 106 {{{ 118 107 LoadModule dav_module modules/mod_dav.so 119 108 LoadModule dav_fs_module modules/mod_dav_fs.so 120 109 }}} 121 1 2.1.2. Add (after):110 11.1.2. Add (after): 122 111 {{{ 123 112 # Subversion … … 126 115 }}} 127 116 128 1 2.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:) 129 118 {{{ 130 119 C:\Progra~1\Apache~1\Apache2\bin\Apache -k install -n "Apache2" 131 120 }}} 132 121 133 1 2.3. Add location root for multiple repositories122 11.3. Add location root for multiple repositories 134 123 {{{ 135 124 # Subversion … … 146 135 }}} 147 136 148 1 2.4. Add cgi handler, Uncomment:137 11.4. Add cgi handler, Uncomment: 149 138 {{{ 150 139 AddHandler cgi-script .cgi … … 152 141 153 142 154 1 3. Restart Apache155 156 1 4. Test your install of Subversion143 12. Restart Apache 144 145 13. Test your install of Subversion 157 146 http://[hostname]:80/svn/repo1 158 147 … … 161 150 === Create Users === 162 151 163 1 5. Add users to password file152 14. Add users to password file 164 153 {{{ 165 154 C:\> c:\progra~1\apache~1\apache2\bin\htpasswd -m c:\svn\.htaccess user … … 169 158 170 159 (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 161 15. 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 171 171 172 172 16. Install Subversion Python Bindings … … 383 383 384 384 === 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.385 32. 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. 386 386 387 387 === Finally... ===