Nincs leírás

Julio Montoya 93c2f9dafd Minor - fix yarn install order 6 éve
.github 761e9bf526 Add support information as per Github recommendations 6 éve
assets e957cfcb72 WIP: Restore breadcrumb, add selected option 6 éve
bin c4cc6f7fd2 Use bin/console doctrine:schema 7 éve
certificates fea198c8ca Minor - partial merge with 1.11.x 6 éve
config 6d643758e7 WIP Integrating LTI - refs BT#13469 6 éve
custompages 5754a14dc9 Applied fixes from FlintCI 7 éve
documentation e50b0c600b Minor - update correct js 6 éve
main 335d9c9673 Minor - fix select UI 6 éve
plugin 30f5dc63a5 Merge branch '2741' 6 éve
public cdead22704 Fix plugin icon 64px - refs BT#13469 6 éve
src 920af67ee6 WIP: Fix menu CSS classes 6 éve
templates 0c6d0a5d60 fix login.html.twig 6 éve
tests 2c1297ced8 WIP - course creation fixes when adding content 6 éve
translations 2f45169ece Minor - WIP Database created and schema created using symfony #2320 7 éve
var bdb7fb3880 Minor - add .gitkeep in var/courses and var/upload 7 éve
.codeclimate.yml f36cf60988 Remove unused config settings #2682 6 éve
.editorconfig 4b03d5aedc Minor - update setting 7 éve
.env.dist 6e36d64abd Add hwi_oauth settings in .env.dist see #2645 6 éve
.flintci.yml 26ea363388 Minor - fix CI path 6 éve
.gitattributes 6038583004 Ignore files from web 7 éve
.gitignore 8231595b88 Minor - update .gitignore 6 éve
.htaccess 859bd5de08 Add SCORM optimization for content with lots of JS/CSS by allowing direct access to JS and CSS files only 6 éve
.php_cs 12e4f6f958 Add CI files 7 éve
.php_cs.dist 8cd209ad8d Deleted clockwork unused plugin #2661 6 éve
.scrutinizer.yml edbd849ee7 Minor - update CI config files 6 éve
.travis.yml 93c2f9dafd Minor - fix yarn install order 6 éve
.yamllint_config 79fca38f9b Minor - Ignore files in CI 7 éve
CODE_OF_CONDUCT.md ec24504e9f Added code of conduct (contributor-covenant.org) 6 éve
CONTRIBUTING.md c913ac34b6 Add links to official documentation to contribution documentation - refs #2705 6 éve
LICENSE 7611bf5ac9 Add LICENSE 6 éve
README.md 495b210ef4 Minor: Update yarn upgrade command in README.md 6 éve
apple-touch-icon.png 4116a6b100 merge 10 éve
composer.json a19db6227e Vendor add oauth1-php #2741 6 éve
index.php 205637b2d1 Minor - Remove unused function 6 éve
license.txt cac83af385 Minor - partial merge with 1.11.x 6 éve
package.json 67f03b23e2 Update js libs BT#14957 6 éve
robots.txt 2eae6d6b60 Minor - update robots.txt 6 éve
ruleset.xml 728a0a507c Minor - rename CI file, flint fixes 6 éve
user_portal.php aa7dc27aa9 Minor - flint fixes 6 éve
webpack.config.js fa1563ad7a Restoring bootstrap 6 éve
whoisonline.php 00fdaaafde Minor - flint fixes 6 éve
whoisonlinesession.php cac83af385 Minor - partial merge with 1.11.x 6 éve
yarn.lock 67f03b23e2 Update js libs BT#14957 6 éve

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 upgrade
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