1. Download Subversion DMG from
2. Setup Subversion
3. $ sudo mkdir /usr/local/svn
$ sudo svnadmin create /usr/local/svn/[PROJECT_NAME]
$ sudo chown -R www /usr/local/svn
4. Create httpd.conf on the base of content of /etc/apache2/httpd.conf
5. Add to LoadModule section
6. Create /etc/apache2/extra/httpd-svn.conf with following content:
7. $ sudo htpasswd -cm /etc/apache2/subversion.auth [USER_NAME] and create password for the user
8. Stop and start Apache server using apachectl or by un-checking and checking the Web Sharing checkbox in System Preferences > Sharing.
9. To access SVN, the URL is http://localhost/svn/[PROJECT_NAME]. The configuration is using SVN ParentPath configuration which means that you can have multiple repositories in /usr/local/svn (e.g. project1, project2, etc)
10. Setup SVN in Eclipse/STS, type following path: http://localhost/svn/[PROJECT_NAME], enter [USER_NAME] credentials.
2. Setup Subversion
3. $ sudo mkdir /usr/local/svn
$ sudo svnadmin create /usr/local/svn/[PROJECT_NAME]
$ sudo chown -R www /usr/local/svn
4. Create httpd.conf on the base of content of /etc/apache2/httpd.conf
5. Add to LoadModule section
LoadModule dav_svn_module libexec/apache2/mod_dav_svn.soAt end of the file, add this include
Include /private/etc/apache2/extra/httpd-svn.confCopy edited file to /etc/apache2/httpd.conf, overwrite
6. Create /etc/apache2/extra/httpd-svn.conf with following content:
<Location /svn>
DAV svn
SVNParentPath /usr/local/svn
# how to authenticate a user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/apache2/subversion.auth
# only authenticated users may access the repository
Require valid-user
</Location>
7. $ sudo htpasswd -cm /etc/apache2/subversion.auth [USER_NAME] and create password for the user
8. Stop and start Apache server using apachectl or by un-checking and checking the Web Sharing checkbox in System Preferences > Sharing.
9. To access SVN, the URL is http://localhost/svn/[PROJECT_NAME]. The configuration is using SVN ParentPath configuration which means that you can have multiple repositories in /usr/local/svn (e.g. project1, project2, etc)
10. Setup SVN in Eclipse/STS, type following path: http://localhost/svn/[PROJECT_NAME], enter [USER_NAME] credentials.