From f76a49d34fb35a36b34384757fe37db345082b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 6 Apr 2019 00:19:19 +0200 Subject: [PATCH] Install CKEditor during composer install routine. --- README.md | 3 +-- composer.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c637fb47..32f26c37 100644 --- a/README.md +++ b/README.md @@ -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!* 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` -6. Install CKEditor: `php bin/console ckeditor:install` -7. Optional (speeds up first load): Warmup cache: `php bin/console cache:warmup` +6. 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 and repeat the steps 4. to 7. diff --git a/composer.json b/composer.json index 3a8c5475..f6c2df3e 100644 --- a/composer.json +++ b/composer.json @@ -72,6 +72,7 @@ "scripts": { "auto-scripts": { "cache:clear": "symfony-cmd", + "ckeditor:install --clear=drop": "symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd" }, "post-install-cmd": [