Windows Installation instructions for SVN w/TRAC ?/A>Versions used in this example (Available 2004-05-13):
Email Daragh Fitzpatrick for more info, or if you changed this page (since this Wiki does not support watch/subscription) Note: This example installs to D: Arm Yourself ?/A>1. Get & Read book Install SubVersioN Pre-Requisites ?/A>2. Install Python
3. Install Apache 4. Install Subversion Create Repository ?/A>5. Create Repository Directory D:\> md d:\svn 6. Create Repository D:\> svnadmin create d:\svn\repo1 7. Create skeleton repository structure in d:\temp\project
8. Build Repository Tree D:\> svn import d:\temp\project file:///d:/svn/repo1 -m "Initial Load" 9. Create local sandbox D:\> svn checkout file:///d:/svn/repo1 d:\project Configure Apache ?/A>10. Copy files D:\> copy d:\progra~1\subver~1\httpd\*.* d:\progra~1\apache~1\apache2\modules 11. Create password file (w/user ‘admin‘) D:\> d:\progra~1\apache~1\apache2\bin\htpasswd -cm d:\svn\.htaccess admin 12. Configure Apache (edit httpd.conf)
13. Restart your MACHINE 14. Test your install of Subversion Phew! Subversion is installed and working - Grab a beverage for yourself. Setup Users ?/A>15. Add users to password file D:\> d:\progra~1\apache~1\apache2\bin\htpasswd -m d:\svn\.htaccess user Install TRAC Prerequisites ?/A>16. Install Subversion Python Bindings
17. Install SQLite
18. Install PySQLite 19. Install TRAC Fix a few things ?/A>20. (BUG) Edit first line of D:\Python23\Scripts\trac-admin to have: #!D:\Python23\python.exe 21. (BUG) Edit first line of D:\Python23\share\trac\cgi-bin\trac.cgi to have: #!D:\Python23\python.exe 22. Copy CGI D:\> copy d:\python23\share\trac\cgi-bin\trac.cgi d:\progra~1\apache~1\apache2\cgi-bin 23. (BUG) not able to run trac-admin initenv... Not available in 0.6.1 Configure TRAC DB ?/A>24. Run trac-admin D:\Python23\Scripts> python trac-admin d:/svn/trac.db 25. Initialize DB Trac [d:/svn/trac.db]> initdb Enter project name Project Enter path to repository d:\svn\repo1 Enter path to templates d:\Python23\share\trac\templates (BUG) Note error message regarding wiki-pages 26. (BUG) Load Wiki Trac [d:/svn/trac.db]> wiki load d:/python23/share/trac/wiki-default 27. Add administrative permissions Trac [d:/svn/trac.db]> permission add admin TICKET_ADMIN Trac [d:/svn/trac.db]> permission add admin REPORT_CREATE Trac [d:/svn/trac.db]> permission add admin REPORT_MODIFY Trac [d:/svn/trac.db]> permission add admin REPORT_DELETE Trac [d:/svn/trac.db]> permission add admin REPORT_ADMIN Trac [d:/svn/trac.db]> permission add admin WIKI_DELETE Trac [d:/svn/trac.db]> permission add admin WIKI_ADMIN Trac [d:/svn/trac.db]> permission add admin CONFIG_VIEW Trac [d:/svn/trac.db]> permission add admin TRAC_ADMIN Add TRAC to Apache ?/A>28. Edit httpd.conf:
29. Restart Apache 30. Hold your breath, test TRAC install Finally?A class=anchor title="Link to this section" href="https://trac./wiki/TracOnWindows#Finallyhellip"> ?/A>31. Install SVN Clients as necessary (try Rapid SVN & Tortoise SVN) 32. Don‘t forget to lock down the security on the box! 33. Now go get a *real* drink |
|