Log on:
Powered by Elgg

Moodle Vanguard :: Blog :: Moodle install -- U turn time

July 02, 2008

Having sworn in the previous post that I would not use CVS I diddled about with it this afternoon and found that it weren't so bad.

Following destructions on the CVS for admins page I was able to get things to work. Frumentius has all it's ports blocked except 80 so I figured I'd use Barnabas for development and then port things over as they solidify.

Commands:

  1. Install CVS : sudo apt-get install cvs
  2. Login to the CVS server : cvs -d:pserver:anonymous@us2.cvs.moodle.org:/cvsroot/moodle login
  3. Create a directory to put it in : mkdir moodle_cvs
  4. download the weekly update : cvs -z3 -d:pserver:anonymous@us2.cvs.moodle.org:/cvsroot/moodle co -d moodle_cvs -P -r MOODLE_19_WEEKLY moodle
At this point I figured I'd get some modules from contrib. But I quickly realised that I didn't want the whole shooting match. So I browsed to the CVS site : http://us2.cvs.moodle.org and dug down until I found the directory I was interested in (mod/attendance). Now I could get just the modules or blocks I'm interested in:
$ mkdir moodle_contrib
$ cd moodle_contrib
$ cvs -z3 -d:pserver:anonymous@us2.cvs.moodle.org:/cvsroot/moodle -d moodle_contrib/ co
contrib/plugins/mod/attendance
Cool, eh?
Now, all I need to do is :
  1. copy moodle_cvs into the server web space and copy the modules I want into their appropriate places.
  2. Hack away, apply themes, customize, etc
  3. In a month's time, update the CVS, and then do a diff between the working version and the CVS version and copy the changed files. If any of these have been hacked I will see straight away and can reapply the requisite changes.
 

Keywords: moodle, moodle_development

Posted by Moodle Vanguard - Mark Pearson

You must be logged in to post a comment.