-
-
Notifications
You must be signed in to change notification settings - Fork 0
Deploying
Adam edited this page Mar 17, 2020
·
3 revisions
The following instructions are assuming you will have the SVN Manager at C:\Utilities\SvnManager
but actually you can have it wherever you would like. The port is also configurable, but assuming the default of 9664. The appid
in step 4 below can also be your own value.
- Ensure .NET Framework 4.7 is installed on the server
- Create directory at C:\Utilities\SvnManager and paste copied files here
- In command prompt, run the following:
cd \Windows\Microsoft.NET\Framework64\v4.0.30319 [Press Enter]
installutil C:\Utilities\SvnManager\SvnManager.exe [Press Enter]
- Set up SSL on port 9664
- In command prompt, run:
netsh http add sslcert ipport=0.0.0.0:9664 certhash=THUMBPRINT_WITHOUT_SPACES appid={4224ef3d-e052-40c0-a755-d3bafc881ed9}
- Additional Details: https://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx
- Create folder at C:\Repositories
- Download SVN from: https://win-svn.dev/download-svn.html
- Update SvnManager.config with appropriate settings
- Start the SVN Manager Service:
net start svnmanagerservice
Repositories can now be created at: https://mgr.win-svn.dev:9664/ (default URL) and users can be created at: https://mgr.win-svn.dev:9664/user/add (default URL)
You will notice it will list existing users and repositories
- GET - https://mgr.win-svn.dev:9664/api/repositories (list current repositories)
- POST - https://mgr.win-svn.dev:9664/api/repositories/{name} (create repository called
name
) - PATCH - https://mgr.win-svn.dev:9664/api/user/{name}
PARTIAL
(change password for username
, password in request body)
There is currently no authentication mechanism built-in. It is strongly recommended that the SVN Manager access be limited in your firewall to approved IP addresses.