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: