I'm working on PHP web applications (mainly built on top of CodeIgniter). What is an easy way to deploy such sites? Right now, deployment generally consist of:
- Shutting the site down
- Doing an
svn up
This is fine for the most part. However, I do want to do a few other things:
- Attach a version number to the filenames of images, scripts, and style sheets if the one on production site is different from what is in version control (and update all references in the mark up, scripts, etc. to these new file names)
- Minify all scripts and stylesheets (and update all references in the mark up, scripts, etc.)
The ability to roll back would be nice, too.
I know about Phing and Ant, but have no experience using these tools. Suggestions?