From 1d58bea24d37d9a69e8ca8648c925688975aa6b1 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow <179595+TwizzyDizzy@users.noreply.github.com> Date: Wed, 27 Dec 2023 10:08:17 +0100 Subject: [PATCH] Updating documentation to reflect 5.0.0 changes in build steps (#108) Co-authored-by: TwizzyDizzy --- docs/installation.md | 4 ++-- docs/update.md | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 92c43419..4f497cc7 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -68,7 +68,7 @@ Get into the directory: ```bash cd /var/www/html/Lychee ``` -Install the required dependencies. +Install the required dependencies and generate frontend assets. ```bash composer install --no-dev npm install @@ -232,4 +232,4 @@ server { [1]: https://getcomposer.org/ -[2]: https://nodejs.org/ \ No newline at end of file +[2]: https://nodejs.org/ diff --git a/docs/update.md b/docs/update.md index b0d317ab..121d4acf 100644 --- a/docs/update.md +++ b/docs/update.md @@ -17,10 +17,14 @@ Fully updating Lychee with `git` is the easiest way: ```bash # download the lastest files git pull -# update the dependencies +# update composer dependencies composer install --no-dev # apply the database migration php artisan migrate +# update Node.js dependencies +npm install +# generate frontend assets +npm run build ``` If you have the `post-merge` hook set up the following is enough: