solution for drupal collaboration using version control system

284 views Asked by At

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 use 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.

1

There are 1 answers

0
Kristoffer Mortensen On BEST ANSWER

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.