gitmodx

MODX git workflow


I want to know what is the best way to develop a website in MODX but using GIT in team.

How I understand everything, MODX saves the template, chunk, snippets and also other stuff directly to the DB and if a Team member who works on the same project, makes changes inside MODX manager those changes can't be pushed to git so easily.

How do you guys solve this problem? Is there some other way except dumping and replacing the database every time when there are changes made?


Solution

  • Do you know about Gitify? It is a great tool for git workflow with MODX. It makes possible to save any MODX object (snippets, templates, lexicons, custom classes) to file and revert it back when needed. You can see more here: http://modmore.github.io/Gitify/