Hey all,
Through a couple of custom apps that I’ve built for clients I’ve gotten very comfortable using SVN during the development process. Now that I’m moving into a new company, I get the chance to help finalize some working processes, and I would like to have some form of version control in place for all sites that we work on. And we all love ModX, but the problem that I’m seeing is that with ModX saving everything in db, how do I get a good process in place that takes as much human error out of the process as possible? Yes, I realize that we’re all human and prone to mistakes, but making some do a backup of the db, put it in the right place on the dev server, then upload all of the contents to the SVN server is one or two steps two many. If all they have to do is open Versions and hit the commit button, it’s more likely to happen.
Has anyone worked up a good system for this? If so, could you share the process you use?
Thanks in advance!
There are utilities that back up a MODx site into a zip file, this includes an sql file dump of the database, you could do this regularly and just commit it to SVN say. I think one called MODbak, but there are others, search the resources section for more info.
Use MODx, or the cat gets it!