CourseLib consists of components that are installed using Composer. Composer must be installed first.
The basic component, and the starting point for a site is cl/site. All other components are optional. It is recommended that cl/site be installed and configured first to get the site running. Most users will then proceed to install cl/users and cl/course for users and course support.
composer.json
Download the file composer.json. Place this file in the root directory where you wish to create the CourseLib site. The file is also available in a .zip file:
The file composer.json consists of:
{ "scripts": { "cl-installer": "CL\\Site\\Install\\Installer::install" } }
It installs a script that will be run to configure the files in the site.
Installing cl/site
In the directory containing composer.json, type the following commands:
composer require cl/site composer run cl-installer
Now proceed to cl/site configurations to configure.