Update readme.md

This commit is contained in:
Maarten 2024-11-26 08:51:33 +01:00
parent ff404be6c0
commit 7124c292f3

View file

@ -63,31 +63,25 @@ This application is built using the **MVC (Model-View-Controller)** design patte
1. **Clone the repository**:
```bash
git clone git@git.maartenvr98.nl:maartenvr98/IPcalc-u-later.git
cd ipcalc-u-later
cd ipcalc-u-later
2. **Install PHP dependencies**:
```bash
composer install
3. **Set up Node.js and Yarn (for front-end development)**:
- Install Node.js (ensure you're using version 20 or higher)
- You can download and install the latest version from Node.js [official site](https://nodejs.org/en).
- Install Yarn globally via npm (if not already installed):
```bash
npm install -g yarn
4. **Install frontend dependencies**
```bash
yarn install
5. **Setup the server**:
- If you're using Apache, ensure that mod_rewrite is enabled and the .htaccess file is properly configured.
- If you're using Nginx, configure the server block to point to the public directory.
6. **Run the server**:
```bash
php -S localhost:8000 -t public
7. **Acces the application**:
- Open a web browser and navigate to http://localhost:8000 (or the appropriate URL based on your server configuration).