0216.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Web Based Subversion Repository Browsing with WebSVN</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Web Based SVN.Web Based Subversion,Subversion Browser,Subversion,Apache,Install Guide,Browser Based,Self-Hosted,HTTPD,SVN,WebSVN,PHP,Web Based Tools,Code Repository,Source Code Tracking,Version Control,Web Based,SVN Server,SVN Basics,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Web Based Subversion Repository Browsing with WebSVN">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  12. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  13. <script type="text/javascript" src="includes/js/steps.js"></script>
  14. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  15. </head>
  16. <body>
  17. <div id="gridContainer">
  18. <div class="topMargin"></div>
  19. <div id="listName" class="topMargin">
  20. <h1>Web Based Subversion Repository Browsing with WebSVN</h1>
  21. </div>
  22. <div></div>
  23. <div id="content">
  24. <h2>Prerequisites</h2>
  25. <ul>
  26. <li>Subversion installed on the web server (Video tutorial: )</li>
  27. <li>Apache with PHP support</li>
  28. </ul>
  29. <h2>Installing WebSVN</h2>
  30. <p>From the project&#39;s GitHub:<br />
  31. WebSVN offers a view onto your Subversion repositories that&#39;s been designed to reflect the Subversion methodology. You can view the log of any file or directory and see a list of all the files changed, added or deleted in any given revision. You can also view the differences between two versions of a file so as to see exactly what was changed in a particular revision.</p>
  32. <ol>
  33. <li>Download WebSVN&nbsp;<a href="https://github.com/websvnphp/websvn" target="_blank">Download</a></li>
  34. <li>Extract the WebSVN&nbsp;files</li>
  35. <li>Rename the extracted folder WebSVN</li>
  36. <li>Copy the entire extracted folder&nbsp;to Apache install directory/htdocs</li>
  37. <li>Make a copy of the&nbsp;include/distconfig.php and name it config.php</li>
  38. <li>Edit config.php in a text editor</li>
  39. <li>Find $config-&gt;parentPath and set the value to the parent path of the Subversion repositories&nbsp;(ie G:\\SVN)</li>
  40. <li>Save the file</li>
  41. <li>Open a web browser and navigate to http(s)://DNSorIP/WebSVN</li>
  42. <li>Enjoy a web based view into your Subversion repositories</li>
  43. </ol>
  44. <p>If you receive errors about svn.exe or other svn commands failing, make sure the Subversion /bin directory is in the system path and that the user running the web server process has read access to the Subversion parent path specified in config.php</p>
  45. </div>
  46. </div>
  47. </body>
  48. </html>