开发者

How to deploy a big application

开发者 https://www.devze.com 2023-01-12 04:39 出处:网络
I have a drupal application which is in heavy developement. I need to deploy my app. and due to long list of images my deployment directory is more th开发者_如何转开发an 700Mb. How to deploy this on s

I have a drupal application which is in heavy developement. I need to deploy my app. and due to long list of images my deployment directory is more th开发者_如何转开发an 700Mb. How to deploy this on server, keeping track that while deploying next time only changed files will be deployed.

Please gimme a simple solution.

please don't give any advanced solution. Previously i was using simple ftp file zilla. Now i m using cyberduck(as feel good) for sftp.

EDIT

I a using git for version maintenance.


  1. You can use FTP or SFTP like now, because you must set settings to upload only new or changed files.

  2. If you want use some solution dedicated for this problems, you can use SVN (subversion), you can commit changes on developer machine and do checkout on server machine and server was download only changed files. And you have in this solution version control, you can revert your web application to what version you want.


You can use rsync, to only upload changed files.

Alternatively, you can upload the new version to a different directory and then switch a symlink or change a configuration file, so that you change to the new version instantly.

0

精彩评论

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

关注公众号