开发者

Transfering site from demo server to live server

开发者 https://www.devze.com 2023-01-13 04:47 出处:网络
mostly i come across a situation where i have to move files between two servers. I usually test my project live in one testing server onl开发者_如何学JAVAine and client checks the websties functionali

mostly i come across a situation where i have to move files between two servers. I usually test my project live in one testing server onl开发者_如何学JAVAine and client checks the websties functionality and all. After completing all the task i again have to transfer the contents of the testing server to the live server along with data too...

So for that process i download all the files uploaded by client in the testing server, backup database and again upload the database to new server and client files too. if the client has uploaded less files then it is no prob but in case of large files i really waste my time copying files from one to next.

so how can i make the same process in less time even with large files


We use SVN which is hosted on our server.

When we want to port the site to a test area we have a test domain name setup which is hosted on the server, and we can just run svn update on a subdomain and it will just copy all of the files across.

When we go live assuming the domain is hosted on the same server we just run svn update on that folder as well. Very quick and easy.

0

精彩评论

暂无评论...
验证码 换一张
取 消