Very new to this so bear with me. I have made many searches and see that a lot of people disagree with this method but can be done. Let's assume that I can only do this option...
We have 5 developers who all will work on different aspects of our site. These are stored in folders in 'branches'.
The developers all use TortoiseSVN and 'Commit' their changes as and when they update something on the code.
Now what I would like to do is display the site in a browser, for example. If Dev 1 works on folder 'Code A' and then commits, Dev 1 can then go to http://branch.codea.example.com. I then want Dev 2 to be able to work on 'Code B' and then be able to do the same and view http://branch.codea.example.com - I would like this to be instant.
I have apache set up and can change the document root to anywhere. This is a totally separate server (running Ubuntu 10) from the main live site. The developers are normally all working on different parts of the site so being able to view the site from the branch folder is imperative, I have seen lots of references to 'svn update' in a post-commit file but so far, this doesn't work.
One we are happy with the branch, I want to be able to make that a 'trunk' and export that to our staging server (again, is separate). Only then will we export to the new site.
So to sum up, I would like to know:
1) How to display the site directly from the repository (to test code changes)?
2) How to export from a Trunk to a staging server (to test the whole site and bosses!)?
3) Any code that I need in order to set this up (I have been looking and even been on the phone to uberSVN).
Thank you for taking the time to read, I hope someone can help