Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: How to set up a CVS mirror.

How to set up a CVS mirror: Difference between revisions

From MoodleDocs
No edit summary
Line 8: Line 8:


==CVS Repository==
==CVS Repository==
Please make sure that your Moodle repository is available under /cvsroot/moodle (for compatibility with all the other mirrors).


==Mirroring Moodle repository==
==Mirroring Moodle repository==

Revision as of 14:01, 28 April 2007

This document will outline the exact steps to set up a CVS mirror that Moodle users can use to download Moodle and maintain their web sites. (It could use some help to flesh it out!)

Hardware

Operating System

CVS Server

CVS Repository

Please make sure that your Moodle repository is available under /cvsroot/moodle (for compatibility with all the other mirrors).

Mirroring Moodle repository

You can easily mirror the Moodle repository to your own machine using rsync to copy recently changed files. You can simply run these commands (every 15 minutes, using cron):

cd [your local directory]

rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/moodle .
rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/contrib .
rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/mysql .
rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/lang .

Monitoring your service

Letting us know

To inform the community and have your server's details added to our mirror network, contact Martin Dougiamas at moodle.com via the helpdesk.