Merge pull request 'Updated install instructions (need to run composer update before key generate' (#1) from helges-branch into main

Reviewed-on: #1
This commit is contained in:
Helge-Mikael Nordgård 2025-05-06 20:00:28 +02:00
commit a263c33b77

View File

@ -54,6 +54,12 @@ and copy/rename the `.env.example` to `.env`
This is the global environment variable file which contains all the settings needed to run the application. You do not need to edit this file, the default settings are fine. As standard, the page builder uses SQLite as a database backend (and that is fine for most intended purposes of this application), but if you want to use something like Mysql or PostresDB, you need to edit the environment variable file to facilitate this. This is the global environment variable file which contains all the settings needed to run the application. You do not need to edit this file, the default settings are fine. As standard, the page builder uses SQLite as a database backend (and that is fine for most intended purposes of this application), but if you want to use something like Mysql or PostresDB, you need to edit the environment variable file to facilitate this.
First we need to fetch the required libraries used by the application via composer. Run:
```
composer update
```
Next you need to generate a random key for cryptography operations (that will be stored in the .env file): Next you need to generate a random key for cryptography operations (that will be stored in the .env file):
``` ```
@ -62,10 +68,9 @@ php artisan key:generate
If you get something like *"'php' is not recognized as an internal or external command, operable program or batch file."* you need to make sure that php is installed per the requirements, and that the operating system has the php executable accesible from within it's path environment variable. You might need to open and close your console to reload the environment path variable. If you get something like *"'php' is not recognized as an internal or external command, operable program or batch file."* you need to make sure that php is installed per the requirements, and that the operating system has the php executable accesible from within it's path environment variable. You might need to open and close your console to reload the environment path variable.
Next we want to update and fetch all package dependencies for PHP and Node with Composer and NPM: Next we want to update and fetch all package dependencies for Node with NPM:
``` ```
composer update
npm update npm update
``` ```
@ -133,4 +138,4 @@ This software, and the pagebuilder is copyrighted by Arctic Software A/S and Hel
1. **Maintainer:** Helge-Mikael Nordgård 1. **Maintainer:** Helge-Mikael Nordgård
*Future contributers will be added to this section :-)* *Future contributers will be added to this section :-)*