Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Angel Fernando Quiroz Campos 99bf33b720 GraphQL Start bundle 6 years ago
.github
app Add association mapping between user - message - refs #2644 6 years ago
assets Minor - fix course creation +fix multiple delete using selector in table 6 years ago
bin
certificates Minor - partial merge with 1.11.x 6 years ago
config GraphQL Start bundle 6 years ago
custompages Applied fixes from FlintCI 7 years ago
documentation Update CSS paths in documentation/ directory 6 years ago
main Minor - flint fixes 6 years ago
plugin Minor - fix from 1.11.x 6 years ago
public Add ThemeBundle autowire + add TwigListener to load the favicon 6 years ago
src GraphQL Start bundle 6 years ago
templates Add liip_theme in order to handel chamilo templates 7 years ago
tests Minor - fix query use course instead of c_id for entity CTool 6 years ago
translations Minor - WIP Database created and schema created using symfony #2320 7 years ago
var Minor - add .gitkeep in var/courses and var/upload 7 years ago
.codeclimate.yml Minor - rename CI file, flint fixes 6 years ago
.editorconfig
.env.dist Add hwi_oauth settings in .env.dist see #2645 6 years ago
.flintci.yml Minor - fix CI path 6 years ago
.gitattributes Ignore files from web 7 years ago
.gitignore Minor - add components folder 7 years ago
.htaccess Minor - partial merge with 1.11.x 6 years ago
.php_cs
.php_cs.dist Minor - Update CI. phpdoc_annotation_without_dot = false 6 years ago
.scrutinizer.yml Minor - flint fixes 6 years ago
.travis.yml Minor - update travis 6 years ago
.yamllint_config Minor - Ignore files in CI 7 years ago
CONTRIBUTING.md
LICENSE Add LICENSE 6 years ago
README.md Add "Quick update" instructions to README.md 6 years ago
apple-touch-icon.png
composer.json Vendor Add overblog/graphql-bundle 6 years ago
index.php Minor - partial merge with 1.11.x 6 years ago
license.txt Minor - partial merge with 1.11.x 6 years ago
news_list.php
package.json WIP: Comment css minifier plugin OptimizeCSSAssetsPlugin 6 years ago
robots.txt
ruleset.xml Minor - rename CI file, flint fixes 6 years ago
user.php Applied fixes from FlintCI 7 years ago
user_portal.php Replace $_SESSION, rename function to camelCase, format code 6 years ago
webpack.config.js WIP: Comment css minifier plugin OptimizeCSSAssetsPlugin 6 years ago
whoisonline.php Minor - partial merge with 1.11.x 6 years ago
whoisonlinesession.php Minor - partial merge with 1.11.x 6 years ago
yarn.lock WIP: Comment css minifier plugin OptimizeCSSAssetsPlugin 6 years ago

README.md

Chamilo 2.x

Build Status Scrutinizer Code Quality Bountysource Code Consistency CII Best Practices Codacy Badge

Chamilo is an e-learning platform, also called "LMS" or "LCMS" published under GNU/GPLv3+. It is or has been used by more than 20M people worldwide.

Quick install

If you want a detail and explanation of all of the steps please read the "Installation Guide". We assume you have already installed "yarn" and "composer" and you're installing the portal in a domain, not in a sub folder inside a domain.

git clone https://github.com/chamilo/chamilo-lms.git chamilo2
cd chamilo2
composer install (If composer asks to accept recipes, just press enter or "n")
php bin/console assets:install
php bin/console fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json
yarn install
yarn run encore dev
chmod -R 777 .env app var public main/default_course_document/images/	

Then enter the main/install/index.php and follow the UI instructions (database, admin user settings, etc).

Quick update

If you have already installed it and just want to update it from Git, do:

git pull origin master
yarn install
yarn encore dev
composer update

This will update the JS (yarn) and PHP (composer) dependencies.

Installation guide (Dev environment, stable environment not yet available)

The instructions above are meant only for stable versions. If you are a developer and want to contribute to Chamilo in the current development branch (not stable yet), then please follow the instructions below. Please bear in mind that the development version is NOT COMPLETE at this time, and many features are just not working yet. This is because we are working on root components that require massive changes to the structure of the code, files and database. As such, to get a working version, you might need to completely uninstall and re-install from time to time. You've been warned.

First, apply the procedure described here: Managing CSS and JavaScript in Chamilo (in particular, make sure you follow the given links to install all the necessary components on your computer).

Then make sure your database supports large prefixes (see this Stack Overflow thread if you use MySQL < 5.7 or MariaDB < 10.2.2).

Load the (your-domain)/main/install/ URL to start the installer (which is very similar to the installer in previous versions). If the installer is pure-HTML and doesn't appear with a clean layout, that's because you didn't follow these instructions carefully. Go back to the beginning of this section and try again.

Finally, if you are installing this development version in a subdirectory, you will need to add "folder" in configuration.php once the installation process finished:

$_configuration['url_append'] = 'the-folder';

and in the ".env" file in the root folder:

APP_URL_APPEND=the-folder

Upgrade

The upgrade instructions are located in the documentation here: Upgrade

Changes from 1.x

  • app/Resources/public/assets moved to public/assets
  • main/inc/lib/javascript moved to public/js
  • main/img/ moved to public/img
  • main/template/default moved to src/Chamilo/CoreBundle/Resources/views
  • bin/doctrine.php removed use bin/console doctrine:xyz options
  • PHPMailer replaced with Swift Mailer
  • Plugin images, css and js libs are loaded inside the public/plugins folder (composer update copies the content inside plugin_name/public inside web/plugins/plugin_name
  • Plugins templates use asset() function instead of using "_p.web_plugin"
  • bower replaced by yarn

Todo

  • Auth (CAS, Shibboleth, Oath2)
  • URL course changes "cidReq" to "c", "session_id" to "s"
  • Fix plugins that use api_get_setting directly in the code
  • Fix plugins render using tpl or PHP files

Contributing

If you want to submit new features or patches to Chamilo, please follow the Github contribution guide https://guides.github.com/activities/contributing-to-open-source/ and our CONTRIBUTING.md file. In short, we ask you to send us Pull Requests based on a branch that you create with this purpose into your repository forked from the original Chamilo repository.

Documentation

For more information on Chamilo, visit https://1.11.chamilo.org/documentation/index.html