Subversion post-commit hook to sync rep with FTP server ( for a website )

Posted by Brett on Stack Overflow See other posts from Stack Overflow or by Brett
Published on 2010-06-16T08:32:13Z Indexed on 2010/06/16 17:22 UTC
Read the original article Hit count: 281

Filed under:
|
|
|
|

I've installed a repository on my computer locally. What I'm trying to do is be able to work on a website locally on my computer and see changes using something like MAMP. When I commit a change though I'd like it to sync my repo with the live website source files on a remote FTP server.

I've done a bit of digging and I know that people keep saying to use a post-commit hook but I'm not sure how to configure it or even how to install it locally. Also i'm not sure if it's possible to do from my computer to an FTP.

Could someone be a huge help and walk me through how to do this I've been trying for hours to figure out how to do it.

thanks so much.

© Stack Overflow or respective owner

Related posts about svn

Related posts about ftp