开发者

solution for drupal collaboration using version control system

开发者 https://www.devze.com 2023-02-11 13:37 出处:网络
I just started working with Drupal for a while and decided to use this CMS to build a website. There are other developers who r working with me on this so we need some means to collaborate effectively

I just started working with Drupal for a while and decided to use this CMS to build a website. There are other developers who r working with me on this so we need some means to collaborate effectively. Usually, I'm used to using SVN for team work but it seems that it is quite difficult to us开发者_开发技巧e SVN for Drupal because it stores a lot of configuration in the database. Since each of us has ours own local database (may have different settings), it is quite hard to synchronize everything because if we only commit and update Drupal code from the common repo, drupal code might not match the data stored in each person's database. Could you guys provide me with some advices or best practices on this problem. Thanks alot.


Hi there
That question has also stumpled me a bit, or in general, just how to easily migrate from test to production, etc.
You can extract all the confiuration items, and store them in SVN (or any similar tool), and thereby share the configuration settings.
You mainly have to use the Features module, as to bundle your configurations and Content types etc. into clusteres of fetures.
A more detailed description and approach can be found here:
Managing and deploying configuration with exportables and the Features module

It gives a very good idea on how to do this, and collaborate.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号