Search

Tuesday, September 25, 2007

Updating Web Applications in Production

Disclaimer: This is just an idea so far, but it is worth documenting so I remember to do it. It also assumes that you are using some kind of source control system such as Subversion.

Wouldn't it be cool to know when your production web application is out of date? By that I mean there is a newer version of it available in your source code repository. So instead of the usual steps:

  1. Check-in latest changes to the application
  2. Go to the production sever and update the code from the repository
  3. Reinitialize the application (I use Model-Glue)

You can simply:

  1. Check-in latest changes to the application
  2. Go to the web application in production
  3. Click a button to updated to the latest revision

Same number of steps I guess but doesn't the second solution seem so much nicer. I will have to implement this across all the web applications I maintain/develop.

// //]]>