I've read a lot about deploying applications here, but haven't found a suitable answer to our needs yet.
We have a large web application built with the zend framework that we want to deploy to a remote server. We want to be able to easily and safely deploy a new version of our application to our production server.
What needs to be done is the following:
- put up a maintenance page on the production application?
- export version from SVN
- run a shell script to minify the CSS files in a certain directory (shell script is done)
- set file permissions on files and directories
- copy/sync? files to a production server -> only changed files?
- remove maintenance page from the production application?
We use SVN as a code versioning tool and we are running CentOS as our server OS in production.
I've read about:
- rsync
- fredistrano / capistrano
- phing
- custom shell scripts
What are your advices for easy one-click deployment?