[Server-devel] Testing (or developing) moodle on the XS - mini-recipe...

Martin Langhoff martin.langhoff at gmail.com
Thu Mar 26 08:29:59 EDT 2009


This is the workflow I am using these days, and it's trivial to track
my latest moodle changes with it...

 - Get a fully setup XS 0.5.2 -- or yum update your 0.5.x to the latest packages

 - Install git and your favourite editor. If you are on a console
(rather than on ssh), you want to add vga=791 or similar to the grub
boot line in /boot/grub/menu.lst

 - as root...
   cd /var/www/moodle
   git clone git://dev.laptop.org/users/martin/moodle.git
   mv web web-from-rpm
   mv moodle web
   cd moodle
   ln -s rpm/moodle-config.php config.php

And then, to get the latest code

  cd /var/www/moodle/web
  git pull

If you are testing or developing, have a window or a VT open, showing
the output of:

  tail -f /var/log/httpd/error.log | perl -pe '$|=1;s/\\n/\n/gs'

If you are developing, you'll want a good editor and gitk as well.

That's all. Working on the restore UI for ds-backup :-)

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list