Combined SVN FTP system?

William picture William · Sep 16, 2008 · Viewed 9.9k times · Source

Are there any systems out there where one can check in changes for a website and have that automatically update the website.

The website effetively runs off the latest stable build the whole time without the need to ftp the files to the server.

Answer

Greg Hewgill picture Greg Hewgill · Sep 16, 2008

I would look into using a post-commit hook to update the site when changes are made. This could be something as simple as using "svn export" to export the current state of the repository to the live website location. Of course, this has performance considerations if your site has lots of content, so you may want to do something more sophisticated and only push updates for content that was changed in the commit.