We use SVN. Is it a good idea to do an “svn up” on production server? If so, how do we do roll back? What is considered best practice for deploying web apps (our application is in PHP).
Boss wants to use FTP.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your app is not super enormous, then svn update or ftp to a new directory. When it’s finished, rename the old directory and rename the new directory.
Or, simply have a symbolic link, and change it to the new directory.
If you have to roll back, change it back, if not, delete the old copy when you update again.
If you have a huge app, you can do the same thing, but have two copies, and use RSYNC to copy to the new tree.