readme.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Virtual Chamilo
  2. ##############################
  3. Author : Valery Fremaux (valery.fremaux@gmail.com), Julio Montoya
  4. Virtual chamilo is a feature that allows running several chamilo instances sharing the same
  5. code base.
  6. Version features
  7. ##############################
  8. This is a yet prototypal version that is not full featured in back-office tools.
  9. At the moment, the setup of virtual clones still is a technical operation and has no
  10. middle-office GUI. Development is in progress to offer a sufficient medium-level
  11. administrability of the process.
  12. How to setup :
  13. ##############################
  14. You need :
  15. 1. Install the vchamilo package into the <chamiloroot>/plugin directory
  16. 2. Install the plugin in chamilo administration
  17. 3. Insert the virtualisation hook into the chamilo master configuration :
  18. file : <chamiloroot>/app/config/configuration.php
  19. Insert the hook:
  20. include_once $_configuration['root_sys'].'plugin/vchamilo/lib.php';
  21. vchamilo_hook_configuration($_configuration);
  22. This should be inserted just after the definition of db_admin_path and
  23. just before the login module section :
  24. <here>
  25. /**
  26. *
  27. * Login modules settings
  28. */
  29. Setup of virtual nodes:
  30. what you need for a virtual node is :
  31. - a blank database copy of chamilo
  32. - a dedicated course directory, that needs being accessible from chamilo installation root (directly, or using symlinks). the name
  33. of this directory is free, as it will be mapped into the vchamilo record.
  34. - a dedicated home page directory, that is located into <chamiloroot>/home directory and is named
  35. as the chamilo instance domain name.
  36. - a vchamilo record into the vchamilo table of the master installation. (the master installation is the install that refers to
  37. the effective "configuration.php" information.
  38. - an appropriate multiroot home root setup in the local chamilo instance
  39. # Prerequisites for VChamilo working nice
  40. Multiple URL access must be enabled :
  41. # in <chamiloroot>/main/inc/config/configuration.php
  42. $_configuration['multiple_access_urls'] = true;
  43. In the administration, you will need configure an adequate home root definition for the instance finding
  44. the dedicated home directory. You just need editing the http://localhost default host, and give the real domain
  45. name you are using.
  46. Check you have the <chamilo>/home/<instancedomain> clone of the standard home directory.
  47. # Important note about file system permissions
  48. Vchamilos will use several side-directories apart from the standard installation (dedicated courses,
  49. dedicated home page). Check you set the adequate filesystem permissions (usually let the server write
  50. in there) for them.