Install CKEditor during composer install routine.

This commit is contained in:
Jan Böhmer 2019-04-06 00:19:19 +02:00
parent 1b575a74b6
commit f76a49d34f
2 changed files with 2 additions and 2 deletions

View file

@ -39,8 +39,7 @@ for additional informations.
*Currently it is not possible to create a new databse. You have to use the database created by an old Part-DB version!* *Currently it is not possible to create a new databse. You have to use the database created by an old Part-DB version!*
4. Install composer dependencies and generate autoload files: `composer install --no-dev` 4. Install composer dependencies and generate autoload files: `composer install --no-dev`
5. Install client side dependencies and build it: `yarn install` and `yarn build` 5. Install client side dependencies and build it: `yarn install` and `yarn build`
6. Install CKEditor: `php bin/console ckeditor:install` 6. Optional (speeds up first load): Warmup cache: `php bin/console cache:warmup`
7. Optional (speeds up first load): Warmup cache: `php bin/console cache:warmup`
When you want to upgrade to a newer version, then just copy the new files into the folder When you want to upgrade to a newer version, then just copy the new files into the folder
and repeat the steps 4. to 7. and repeat the steps 4. to 7.

View file

@ -72,6 +72,7 @@
"scripts": { "scripts": {
"auto-scripts": { "auto-scripts": {
"cache:clear": "symfony-cmd", "cache:clear": "symfony-cmd",
"ckeditor:install --clear=drop": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd" "assets:install %PUBLIC_DIR%": "symfony-cmd"
}, },
"post-install-cmd": [ "post-install-cmd": [