How do you apply fixes in a web project on a production server?

We recently had a project where we released a beta version of a large web application on our client server. Our client asked us to make corrections of errors as they arrived, and we tried to do it the same way. Usually when creating an application on our prototype server it’s easier, because I just need to issue a simple "svn up" command, which takes second place.

But in the production environment, we have no means of version control. Is it possible to automate the work of the patch, so that we do not need to log into ftp and upload each file one at a time?

Its very difficult to work that way. Since I have this problem, it is certain that some of you have already solved the problem. Please share your solutions.

We are waiting for your answers ... Thank you very much for reading guys.

+5
source share
3 answers

Depending on the tools available on the server, you can either do svn diff -r x:ywhere x is the latest version that you upgraded and y is the latest revision that you want to update (possibly the latest revision in your repository) to generate a patch, and then apply patch using the command patch.

rsync , (, , ssh), , rsync svn update .

+2

Subversion ?

[EDIT] - . , ? ? - , , MS Word :

" , , [ ] , , ".

, , , [ ]. , , . : , .

, , .:)

+1

, . Smalltalk -, Aida/Web, - , .

The server is optionally connected to SCM, such as Monticello for Squeak Smalltalk or Store for VisualWorks. Newer versions are then manually or automatically uploaded to the Smalltalk server.

0
source

All Articles