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