feat(doc): add install script reference to README

This commit is contained in:
Victor Westerlund 2024-09-25 14:41:10 +00:00
parent 3957b844bf
commit 25ab7e8e36

View file

@ -22,11 +22,11 @@ Vegvisir|Reflect
Follow the installation instructions for [Vegvisir](https://vegvisir.vlw.se/docs/installation) and point the `site_path` variable to the local vlw.se folder. Follow the installation instructions for [Vegvisir](https://vegvisir.vlw.se/docs/installation) and point the `site_path` variable to the local vlw.se folder.
3. **Install dependencies** 3. **Run the install script**
Install dependencies with composer. This bash script will install dependencies and make npm modules public.
``` ```
composer install --optimize-autoloader ./install.sh
``` ```
Et voila! You probably want to install the API-side too but the website itself should now be accessible from your configured Vegvisir host. Et voila! You probably want to install the API-side too but the website itself should now be accessible from your configured Vegvisir host.
@ -49,7 +49,7 @@ The API (and database) is where most content is stored and served from on this w
3. **Install dependencies** 3. **Install dependencies**
Install dependencies with composer. `cd` into the api folder and install dependencies with composer.
``` ```
composer install --optimize-autoloader composer install --optimize-autoloader
``` ```