Question

I am developing a project in php with svn subversioning system using Visual SVN server.

I have some websites in my private webserver(IIS 7) and I would like to let the trunk folder of the project in my repository be accessible via IIS.

is that possible to be done?

Was it helpful?

Solution

If you really asked about

"How to publish my code from repository in order to use it inside IIS-powered site"

You have to read about Subversion post-commit hooks, which can do any operations with data in repo, in your case - svn export to the root of your IIS-site, or, if you'll prefer to see site-root as Working Copy svn up

OTHER TIPS

VisualSVN installs Apache httpd as a web server.

I don't believe you can install Subversion to work under IIS. However, that was an answer from 18 months ago, so things might have changed, but I doubt it. I did find a Google Code project called RocketSVN, but it looks like it was deprecated.

I found a commercial package at SVNISapi.

one solution is to create a .bat file server side that would be executed every day/week.

here's the simple batch file

svn export -r HEAD file:///C:/repo/proj C:\root\proj --force

remove dir 'cause the export command doesn't allow to overwrite the existent folder.

the C:\root\ is the iis7 folder.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top