I have a website that I am setting up with Version Control. We use Beanstalk with git. Now, I just got a request to add a CMS to his website, which basically is just adding a "cms" class to whatever div I want the client to be able to edit.
For our CMS, we use Pagelime, a very light CMS. But the client will get their own login to make changes and it will automatically upload those changes live via FTP.
How will that work with my Version Control set up? the files in the repository for that website will be outdated, if the client is going in and adding new content with the CMS.
Thanks!
Are you using PHP? You could use the Pagelime FTP-XML publishing system and then use the code in this GIST: https://gist.github.com/945294
It will set up Pagelime to push content to your client site using XML and not by over-writting the source code. You then use PHP (or any other language) to PULL the content into your pages.
Everything is still hosted on your FTP but your source code never gets touched!
Just make sure to never delete the "cms-assets" folder as that's where the XML, images, and docs Pagelime uploads live.
Hope that makes sense!