Some Random Moodle Stuff

1,325 views

Published on

Given at JISC South West Regional Support Center VLE Forum, 22 Oct 2008

Published in: Travel, Sports
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,325
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Some Random Moodle Stuff

  1. 1. Some Random Moodle Stuff Recent Developments at South Devon College Kevin Hughes khughes@southdevon.ac.uk South Devon College 22 October 2008 Kevin Hughes South Devon College Some Random Moodle Stuff
  2. 2. SDC Webteam Lead Web Developer New Media Officer Web Developer Assistant Web Developer Kevin Hughes South Devon College Some Random Moodle Stuff
  3. 3. We have a vacancy Web Developer To design and develop web systems closely integrated with the college network, with particular responsibility for the Virtual Learning Environment (Moodle) for E-Learning. Is this someone you know? Salary: £21,275 — £22,940 http://www.southdevon.ac.uk/jobs Kevin Hughes South Devon College Some Random Moodle Stuff
  4. 4. Upgrade 1.7 → 1.9 Kevin Hughes South Devon College Some Random Moodle Stuff
  5. 5. Upgrade 1.7 → 1.9 Mostly trouble free... Odd problem with SCORM (that no-one else has!) A little trouble with slideshow, scheduler and feedback modules Kevin Hughes South Devon College Some Random Moodle Stuff
  6. 6. Moodle and Git Kevin Hughes South Devon College Some Random Moodle Stuff
  7. 7. Moodle and Git Problem We’re making changes to the Moodle code (even if this is just installing new modules) Kevin Hughes South Devon College Some Random Moodle Stuff
  8. 8. Moodle and Git Problem We’re making changes to the Moodle code (even if this is just installing new modules) but we also want to track the changes from upstream... Kevin Hughes South Devon College Some Random Moodle Stuff
  9. 9. Moodle and Git Problem We’re making changes to the Moodle code (even if this is just installing new modules) but we also want to track the changes from upstream... Solution Git lets us track our changes, and those upstream, at the same time in our own repository Kevin Hughes South Devon College Some Random Moodle Stuff
  10. 10. Moodle and Git Catalyst have done the hard work for us git clone git://git.catalyst.net.nz/moodle-r2.git Kevin Hughes South Devon College Some Random Moodle Stuff
  11. 11. Moodle and Git Catalyst have done the hard work for us git clone git://git.catalyst.net.nz/moodle-r2.git Kevin Hughes South Devon College Some Random Moodle Stuff
  12. 12. Torbay Moodle Network Kevin Hughes South Devon College Some Random Moodle Stuff
  13. 13. Torbay Moodle Network A VLE is needed to support bay-wide diploma courses South Devon College chosen as the best place to host it There are issues with authentication and enrolment Kevin Hughes South Devon College Some Random Moodle Stuff
  14. 14. Torbay Moodle Network A VLE is needed to support bay-wide diploma courses South Devon College chosen as the best place to host it There are issues with authentication and enrolment I don’t want to do it! Not a big problem now – only one diploma running – but more diplomas will start next year Kevin Hughes South Devon College Some Random Moodle Stuff
  15. 15. Torbay Moodle Network Thanks to Gavin Pidgley at SchoolCare
  16. 16. Torbay Moodle Network Lessons learnt: The Moodle network is picky! It cannot connect out through a proxy [MDL-14624] A connection directly to the moodle’s IP address must work A reverse-lookup of the IP must resolve to the correct address (not a local one) Kevin Hughes South Devon College Some Random Moodle Stuff
  17. 17. Torbay Moodle Network Lessons learnt: The Moodle network is picky! It cannot connect out through a proxy [MDL-14624] But there is a patch... [MDL-15125] A connection directly to the moodle’s IP address must work A reverse-lookup of the IP must resolve to the correct address (not a local one) Kevin Hughes South Devon College Some Random Moodle Stuff
  18. 18. By the way... The Graph Stats block is cool Kevin Hughes South Devon College Some Random Moodle Stuff
  19. 19. By the way... But it doesn’t The Graph Stats count networked block is cool logins Kevin Hughes South Devon College Some Random Moodle Stuff
  20. 20. By the way... But it doesn’t The Graph Stats count networked So lets fix it block is cool logins Kevin Hughes South Devon College Some Random Moodle Stuff
  21. 21. By the way... Now you can select to count unique logged-in visitors instead. Kevin Hughes South Devon College Some Random Moodle Stuff
  22. 22. Deploying Moodle with Capistrano Problem Now I’ve got two moodles and two databases across four servers to look after with all the associated duplication of work Kevin Hughes South Devon College Some Random Moodle Stuff
  23. 23. Deploying Moodle with Capistrano Problem Now I’ve got two moodles and two databases across four servers to look after with all the associated duplication of work, and I’m much too lazy for that. Kevin Hughes South Devon College Some Random Moodle Stuff
  24. 24. Deploying Moodle with Capistrano Problem Now I’ve got two moodles and two databases across four servers to look after with all the associated duplication of work, and I’m much too lazy for that. Solution Capistrano (and a bit of cleverness) will let us administer all of them at the same time. Kevin Hughes South Devon College Some Random Moodle Stuff
  25. 25. Deploying Moodle with Capistrano Capistrano: Rolls code out cleanly straight from a (git) repository to many servers at once with one command1 Keep old versions handy and rollback to them instantly Can run any job on parallel across all servers 1 Told you I’d get back to this Kevin Hughes South Devon College Some Random Moodle Stuff
  26. 26. Deploying Moodle with Capistrano Capistrano: Rolls code out cleanly straight from a (git) repository to many servers at once with one command1 Keep old versions handy and rollback to them instantly Can run any job on parallel across all servers Possible problems: You need a UNIX-like server Moodle gets confused by symlinks in its path 1 Told you I’d get back to this Kevin Hughes South Devon College Some Random Moodle Stuff
  27. 27. Deploying Moodle with Capistrano A recipe Kevin Hughes South Devon College Some Random Moodle Stuff
  28. 28. RESTian XML auto-enrolment Problem None of Moodle’s automatic enrolment plugins are of any use to me. Kevin Hughes South Devon College Some Random Moodle Stuff
  29. 29. RESTian XML auto-enrolment Problem None of Moodle’s automatic enrolment plugins are of any use to me. Solution Our new in-house eilp can supply enrolment data in simple XML in a RESTful way. Lets write a new plugin which pulls enrolment data from that. Kevin Hughes South Devon College Some Random Moodle Stuff
  30. 30. RESTian XML auto-enrolment Kevin Hughes South Devon College Some Random Moodle Stuff
  31. 31. RESTian XML auto-enrolment The plugin has some issues: It doesn’t currently unenrol anyone It finds courses on their shortname for historical reasons Kevin Hughes South Devon College Some Random Moodle Stuff
  32. 32. RESTian XML auto-enrolment The plugin has some issues: It doesn’t currently unenrol anyone It finds courses on their shortname for historical reasons A new version coming soon, which... Fixes both those problems Can link more than one real course to one moodle course Kevin Hughes South Devon College Some Random Moodle Stuff
  33. 33. Any questions? ”It is impossible to speak in such a way that you cannot be misunderstood.” Karl Popper http://www.slideshare.net/kevtufc/some-random-moodle-stuff-presentation Kevin Hughes South Devon College Some Random Moodle Stuff

×