From 8365d8aa7c3c8abe45a5a43c6d65af79066a7260 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Tue, 10 Sep 2024 16:19:28 +0100 Subject: [PATCH] docs: update guide to reflect recent code/file changes --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4568b7c..64f61c5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Running the project in development mode - Clone this repository by running `git clone https://github.com/NIAEFEUP/enei-website.git`. -- Navigate to the newly created folder and copy the `env.development` file, renaming it `.env`. +- Navigate to the newly created folder and copy the `env.example` file, renaming it `.env`. - Assuming you've already installed PHP, Composer and Node.js, simply run `./dev.sh` and access `localhost:8000`: the website should be available. ## Troubleshooting @@ -14,8 +14,8 @@ In case you come up with some unforeseen errors that you simply cannot find out ### "*Your requirements could not be resolved to an installable set of packages.*" -This error might appear after `dev.sh` runs `composer update` when your device is missing a crucial PHP package. Look for a line like this: +This error might appear after `dev.sh` runs `composer update` when your device is missing a crucial PHP package. Look for a line like this: `- league/mime-type-detection[1.4.0, ..., 1.15.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.` -The extension can be different, but in this case, you should install the `php8-fileinfo` package or enable it in your `/etc/php8/cli/php.ini` file by removing the semicolon in `;extension=fileinfo`, in case it is already installed. \ No newline at end of file +The extension can be different, but in this case, you should install the `php8-fileinfo` package or enable it in your `php.ini` file (located at `/etc/php//cli/` or `/etc/php/cli/`) by removing the semicolon in `;extension=fileinfo`, in case it is already installed. \ No newline at end of file