Web Based Subversion Repository Browsing with WebSVN
i12bretro
#Subversion #WebSVN #PHP
Full steps can be found at https://i12bretro.github.io/tutorials/0216.html
Prerequisites
- Subversion installed on the web server (Video tutorial: )
- Apache with PHP support
Installing WebSVN
From the project's GitHub:
WebSVN offers a view onto your Subversion repositories that'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. 01. Download WebSVN https://github.com/websvnphp/websvn 02. Extract the WebSVN files 03. Rename the extracted folder WebSVN 04. Copy the entire extracted folder to Apache install directory/htdocs 05. Make a copy of the include/distconfig.php and name it config.php 06. Edit config.php in a text editor 07. Find $config-≫parentPath and set the value to the parent path of the Subversion repositories (ie G:\SVN) 08. Save the file 09. Open a web browser and navigate to http(s)://DNSorIP/WebSVN 10. Enjoy a web based view into your Subversion repositories
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
Connect with me and others
Discord: https://discord.com/invite/EzenvmSHW8 Twitter: https://twitter.com/i12bretro ... https://www.youtube.com/watch?v=lLhf_EWtZzs
8903466 Bytes