Няма описание

Julio Montoya 819fa762f3 Minor - update from 1.11.x преди 6 години
.github 97a0726754 Update Github issue template преди 8 години
app e5c84cbcd5 Remove event template code #2178 преди 6 години
assets d340fde79b Improve multi select field преди 6 години
bin c4cc6f7fd2 Use bin/console doctrine:schema преди 7 години
certificates fea198c8ca Minor - partial merge with 1.11.x преди 6 години
config 6d3284a555 Minor - format code преди 6 години
custompages 5754a14dc9 Applied fixes from FlintCI преди 7 години
documentation a6e823f072 Update CSS paths in documentation/ directory преди 6 години
main b52d0ac192 Minor - import from 1.11.x BT#14771 преди 6 години
plugin 838b69f507 Minor - UI changes use Display::panel instead of custom code преди 6 години
public 698c48feab Add ThemeBundle autowire + add TwigListener to load the favicon преди 6 години
src 819fa762f3 Minor - update from 1.11.x преди 6 години
templates c24343b2f0 Add liip_theme in order to handel chamilo templates преди 6 години
tests 05374f9d0c Minor - fix query use course instead of c_id for entity CTool преди 6 години
translations 2f45169ece Minor - WIP Database created and schema created using symfony #2320 преди 7 години
var bdb7fb3880 Minor - add .gitkeep in var/courses and var/upload преди 7 години
.codeclimate.yml ef4169d1de Minor - update CI config преди 6 години
.editorconfig 4b03d5aedc Minor - update setting преди 7 години
.env.dist 6e36d64abd Add hwi_oauth settings in .env.dist see #2645 преди 6 години
.flintci.yml 66aa422ce4 Add .yamlconfig преди 7 години
.gitattributes 6038583004 Ignore files from web преди 7 години
.gitignore f6ff993ca4 Minor - add components folder преди 7 години
.htaccess fea198c8ca Minor - partial merge with 1.11.x преди 6 години
.php_cs 12e4f6f958 Add CI files преди 7 години
.php_cs.dist ef4169d1de Minor - update CI config преди 6 години
.scrutinizer.yml a6876c440a Minor - flint fixes преди 6 години
.travis.yml 12ccfaaa09 Minor - update travis преди 6 години
.yamllint_config 79fca38f9b Minor - Ignore files in CI преди 7 години
CONTRIBUTING.md 8296d6718f Add Behat testing requirement for new features преди 8 години
LICENSE 7611bf5ac9 Add LICENSE преди 6 години
README.md d18543f133 Add "Quick update" instructions to README.md преди 6 години
apple-touch-icon.png 4116a6b100 merge преди 10 години
codesize.xml ef4169d1de Minor - update CI config преди 6 години
composer.json 3f8b6c39f8 WIP - Add document dummy code to add resources преди 6 години
index.php fea198c8ca Minor - partial merge with 1.11.x преди 6 години
license.txt cac83af385 Minor - partial merge with 1.11.x преди 6 години
news_list.php ff35e68f59 Minor - format code + fix php warning преди 7 години
package.json 7217792f5f Add "multiselect-two-sides" js lib using yarn преди 6 години
robots.txt 3c4c0e45d3 Update Disallow преди 7 години
user.php 5754a14dc9 Applied fixes from FlintCI преди 7 години
user_portal.php cac83af385 Minor - partial merge with 1.11.x преди 6 години
webpack.config.js 6ee1412b98 Create new build file that generates only bootstrap + font awesome преди 6 години
whoisonline.php cac83af385 Minor - partial merge with 1.11.x преди 6 години
whoisonlinesession.php cac83af385 Minor - partial merge with 1.11.x преди 6 години
yarn.lock 7217792f5f Add "multiselect-two-sides" js lib using yarn преди 6 години

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