Nenhuma descrição

Julio 196bfc4702 Minor - Partial merge from 1.11.x 6 anos atrás
.github 761e9bf526 Add support information as per Github recommendations 6 anos atrás
assets 78cd0a2c14 WP - Create tpl for list of exercises - refs #2681 6 anos atrás
bin c4cc6f7fd2 Use bin/console doctrine:schema 7 anos atrás
certificates fea198c8ca Minor - partial merge with 1.11.x 6 anos atrás
config 1e67be6550 Minor - flint fixes 6 anos atrás
custompages 5754a14dc9 Applied fixes from FlintCI 7 anos atrás
documentation 6ed802b07f Fix .htaccess rule + update installation guide #2707 6 anos atrás
main 196bfc4702 Minor - Partial merge from 1.11.x 6 anos atrás
plugin 5e3679d495 Minor - flint fixes 6 anos atrás
public 8db237e13a Sort glossary -refs #2681 6 anos atrás
src a219585600 Fix deprecated notices 6 anos atrás
templates 0c6d0a5d60 fix login.html.twig 6 anos atrás
tests 2c1297ced8 WIP - course creation fixes when adding content 6 anos atrás
translations b35e01b61f Fix installation process 6 anos atrás
var bdb7fb3880 Minor - add .gitkeep in var/courses and var/upload 7 anos atrás
.codeclimate.yml f36cf60988 Remove unused config settings #2682 6 anos atrás
.editorconfig 4b03d5aedc Minor - update setting 7 anos atrás
.env.dist bdff43374b APP_URL_APPEND must contain "/" at the beggining if is not empty 6 anos atrás
.flintci.yml 26ea363388 Minor - fix CI path 6 anos atrás
.gitattributes 6038583004 Ignore files from web 7 anos atrás
.gitignore 5e11f09000 Fix JS dependencies 6 anos atrás
.htaccess 9cb6723841 add tpl list exercises - refs #2681 6 anos atrás
.php_cs 12e4f6f958 Add CI files 7 anos atrás
.php_cs.dist 86ae289083 Fix code related to from main/default_course_document/ 6 anos atrás
.scrutinizer.yml edbd849ee7 Minor - update CI config files 6 anos atrás
.travis.yml 93c2f9dafd Minor - fix yarn install order 6 anos atrás
.yamllint_config 79fca38f9b Minor - Ignore files in CI 7 anos atrás
CODE_OF_CONDUCT.md ec24504e9f Added code of conduct (contributor-covenant.org) 6 anos atrás
CONTRIBUTING.md 2d55481225 Minor - Format code, update docs, update tpls, remove comment 6 anos atrás
LICENSE 7611bf5ac9 Add LICENSE 6 anos atrás
README.md 5bc9a31e95 Minor - Documentation: Fix quick update 6 anos atrás
apple-touch-icon.png 4116a6b100 merge 10 anos atrás
composer.json 6655519570 update from 1.11.x 6 anos atrás
index.php 3d8dc4404b fix user_list 6 anos atrás
license.txt cac83af385 Minor - partial merge with 1.11.x 6 anos atrás
package.json 3f72234d46 fix: package.json to reduce vulnerabilities 6 anos atrás
robots.txt 2eae6d6b60 Minor - update robots.txt 6 anos atrás
ruleset.xml 728a0a507c Minor - rename CI file, flint fixes 6 anos atrás
user_portal.php 7526aa89dc Minor -flint fixes 6 anos atrás
webpack.config.js b3a9417a52 WebPack: Fix public path with installation by domain 6 anos atrás
whoisonline.php 1870737398 fix block avatar social -ref #2681 6 anos atrás
whoisonlinesession.php cac83af385 Minor - partial merge with 1.11.x 6 anos atrás
yarn.lock 880ae23a88 Remove simplewebrtc lib see #2820 6 anos atrás

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

Chamilo 2.0 is still in development stage. This install procedure is for reference only. For a stable Chamilo, please install Chamilo 1.11.x. See the 1.11.x branch README.md for details.

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 fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json
yarn install
yarn run encore dev
chmod -R 777 .

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

After the web install process, change the permissions back to a reasonnably safe state:

chmod -R 755 .
chown -R www-data: public/ var/

Quick update

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

git pull origin master
composer update
php bin/console fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json
    
yarn upgrade
yarn encore dev

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

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

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/index.php 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 "the folder" in the ".env" file in the root folder:

APP_URL_APPEND=the-folder

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

See https://github.com/chamilo/chamilo-lms/projects/3

Contributing

If you want to submit new features or patches to Chamilo 2, 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://campus.chamilo.org/documentation/index.html