Subversion post-commit hook to sync rep with FTP server ( for a website )
- by Brett
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.