dear all,
we are three developers (have one server and 3 laptops), we customize moodle accodring to our needs, but we did not use SVN untill yesterday. we have installed SVN binaries and TortoiseSVN client, and configured apache to link it with our SVN for authentication, everything works fine. Then we imported our original moodle copy into the repository, and every developer checked out his own working copy from the server and put it on his own machine to start working, in this case two problems came up:
1) there would be a config.php file for each checked out copy, the config file refers to a data folder (i.e. moodle data folder) and that would be the same for each checked out copy (the data folder resides on the server where the original moodle copy resides), the line is : $CFG->dataroot = 'D:\mylmscontent';
each developer would work on his own local copy and of course test it (locally) with each step he makes a change, but how would that be done without a data root folder resides on his own machine ? if we supposed he created a new folder on his machine (c:\my_content) and pointed the above line to it ($CFG->dataroot = 'c:\my_content';), I think that would be incorrect because when he (at the end of the day) comits his wokring copy to the repository, the config.php file on the repo would change according to that developer's data root folder path.
2) the database would face the same issue, each copy for each developer must connect to the DB specified in the config.php file, should each developer have to have a local DB on his machine with same name and credentials specified in config.php file?
thank you so much in advance!