Uploading new CSS style requires a composer install
When uploading a new CSS style through the platform settings configuration page (example attached), it is necessary to launch a "composer install" command manually to be able to see the style.
Could we find a way to avoid this? (for example copying the style to web/ when uploaded through the web form?)
Updated by Yannick Warnier over 4 years ago
- Assignee changed from Yannick Warnier to Julio Montoya
Or that we check the permissions before offering the possibility to upload, indicating in the upload page that this folder must be writeable.
Although I would prefer that it be required during installation for now (otherwise it's a bit confusing for users).
OK, you have my agreement to set it as a requirement (even if it goes against our simplification :-))
Updated by Julio Montoya over 4 years ago
- Status changed from Assigned to Needs more info
I just applied a fix.
1. The web folder must be writeable (asked in the installation process)
2. When upload a new css theme the folder is copied here:
and then mirrored here: web/css/themes/cancun
So we can still delete web/* and then execute composer update, the files will be auto generate.