LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting up a testing/development directory for web app? (https://www.linuxquestions.org/questions/linux-software-2/setting-up-a-testing-development-directory-for-web-app-508891/)

mschrank99 12-09-2006 03:17 PM

Setting up a testing/development directory for web app?
 
Hello, I am running Fedora Core 5 (Apache 2) with PHP5/Smarty and using Subversion. I was wondering if anyone had any ideas on how I would go about setting up a development directory. By development directory (not sure if I'm using exactly the correct phrase) I mean a place where I can work on the code without disrupting the lives of those that pay to use the website, and then when I am sure everything is right I can push it over to make it live.

I could easily do this by myself but because we're using Subversion it makes things a bit more complicated than just setting up two copies of the same code and creating an alias to each directory and copying the contents of the dev into the live directory.

How do I make this work with Subversion? Ideally, I'd like to commit changes into the development directory then somehow have a second step- a 'confirm' option that'd push it to the live directory. Does anyone know how to do this or achieve the same effect?

Thank you!

-Matthew

drkstr 12-10-2006 11:51 PM

'chroot' is a godsend. I do all my development in a chrooted environment for testing. Let me know if you still need help after reading up on the topic.

best regards,
...drkstr


All times are GMT -5. The time now is 07:21 PM.