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.
chmod -R 777 .env var public main/default_course_document/images/
~~~~
Then enter the main/install/index.php and follow the UI instructions (database, admin user settings, etc).
## Install 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](assets/README.md) (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](https://stackoverflow.com/questions/43379717/how-to-enable-large-index-in-mariadb-10/43403017#43403017) if you use MySQL <5.7orMariaDB<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.
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:
@ -38,6 +63,11 @@ 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](app/Resources/docs/upgrade.md)
## Changes from 1.x
* app/Resources/public/assets moved to public/assets
The folder "assets" will be processed by the js library Webpack Encore and the result
will be saved in public/build folder.
In order to accomplish this task, we first need to install yarn. Yarn is a JavaScript dependencies manager similar to Bower (that we also used for development in Chamilo 1.11.x), only that Bower seems to be deprecated now.
In order to accomplish this task, we first need to install yarn.
Yarn is a JavaScript dependencies manager similar to Bower (that we also used for development in Chamilo 1.11.x),
only that Bower seems to be deprecated now.
Follow the installation instructions here https://yarnpkg.com/en/docs/install
Install yarn, follow the installation instructions here https://yarnpkg.com/en/docs/install
After the installation run this command in the Chamilo root: