Automatically deploying subversion files to Apache server

We are a small team and we are running subversion and apache on the same server.

We are currently facing a small problem: everyone is saving their changes to our web application directly on the server, which means countless errors when we are all working on the same class.

Now we are trying to solve this problem by allowing the server to use files only in subversion so that everyone can freely edit their files without breaking the application.

Any idea how I can do this?

By the way, we are running Apache on a Windows machine.

+2


a source to share


1 answer


I'm not really sure if I understood the question correctly, so I apologize if I misunderstood.



One way to achieve this would be to use a post-commit hook, which exports the tree to the appropriate directory and restarts the server process (if necessary).

+5


a source







All Articles