Skip to content

Commit

Permalink
docs: update guide to reflect recent code/file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrosilva17 committed Sep 14, 2024
1 parent 0815710 commit 8365d8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
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/<version>/cli/` or `/etc/php<version>/cli/`) by removing the semicolon in `;extension=fileinfo`, in case it is already installed.

0 comments on commit 8365d8a

Please sign in to comment.