|
6 жил өмнө | |
---|---|---|
.github | 8 жил өмнө | |
app | 6 жил өмнө | |
assets | 6 жил өмнө | |
bin | 7 жил өмнө | |
certificates | 6 жил өмнө | |
config | 6 жил өмнө | |
custompages | 7 жил өмнө | |
documentation | 6 жил өмнө | |
main | 6 жил өмнө | |
plugin | 6 жил өмнө | |
public | 6 жил өмнө | |
src | 6 жил өмнө | |
templates | 6 жил өмнө | |
tests | 6 жил өмнө | |
translations | 7 жил өмнө | |
var | 7 жил өмнө | |
.codeclimate.yml | 6 жил өмнө | |
.editorconfig | 7 жил өмнө | |
.env.dist | 6 жил өмнө | |
.flintci.yml | 7 жил өмнө | |
.gitattributes | 7 жил өмнө | |
.gitignore | 7 жил өмнө | |
.htaccess | 6 жил өмнө | |
.php_cs | 7 жил өмнө | |
.php_cs.dist | 6 жил өмнө | |
.scrutinizer.yml | 6 жил өмнө | |
.travis.yml | 6 жил өмнө | |
.yamllint_config | 7 жил өмнө | |
CONTRIBUTING.md | 8 жил өмнө | |
LICENSE | 6 жил өмнө | |
README.md | 6 жил өмнө | |
apple-touch-icon.png | 10 жил өмнө | |
composer.json | 6 жил өмнө | |
index.php | 6 жил өмнө | |
license.txt | 6 жил өмнө | |
news_list.php | 7 жил өмнө | |
package.json | 6 жил өмнө | |
robots.txt | 7 жил өмнө | |
ruleset.xml | 6 жил өмнө | |
user.php | 7 жил өмнө | |
user_portal.php | 6 жил өмнө | |
webpack.config.js | 6 жил өмнө | |
whoisonline.php | 6 жил өмнө | |
whoisonlinesession.php | 6 жил өмнө | |
yarn.lock | 6 жил өмнө |
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.
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).
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.
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
The upgrade instructions are located in the documentation here: Upgrade
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.
For more information on Chamilo, visit https://1.11.chamilo.org/documentation/index.html