Search code examples
visual-studiosvnvisualsvn

Setting up Visual SVN for real world use


I have just setup VisualSVN on my local machine and on our server that hosts our websites. I used the standard default settings when installing the software but I'm a bit confused how to use this with our setup.

I have tested the installation and everything appears to be working ok. In Visual Studio 2008, I can connect to and commit the website files to the server successfully using "IP of server/svn/domainname folder". If I point my browser to the url "IP of server/svn/domainname folder" and enter my username and password I see a folder tree with all of the files I just uploaded. So that bits working fine.

My question is how could we test the website I just uploaded? On our server all our websites are stored in "C:\sites\domainname" folders. In IIS we map that folder to the domain name so when someone types in domainname.com they get the right website. How do I config the Visual SVN server setup to allow me use the "C:\sites\domainname" setup we currently have?

Any help would be greatly appreciated as I'm totally confused by this.


Solution

  • You could do a post-commit hook, that would SVN EXPORT the server to the deploy path.