Update readme.md
This commit is contained in:
parent
ff404be6c0
commit
7124c292f3
1 changed files with 1 additions and 7 deletions
|
@ -63,31 +63,25 @@ This application is built using the **MVC (Model-View-Controller)** design patte
|
||||||
1. **Clone the repository**:
|
1. **Clone the repository**:
|
||||||
```bash
|
```bash
|
||||||
git clone git@git.maartenvr98.nl:maartenvr98/IPcalc-u-later.git
|
git clone git@git.maartenvr98.nl:maartenvr98/IPcalc-u-later.git
|
||||||
cd ipcalc-u-later
|
cd ipcalc-u-later
|
||||||
|
|
||||||
2. **Install PHP dependencies**:
|
2. **Install PHP dependencies**:
|
||||||
```bash
|
```bash
|
||||||
composer install
|
composer install
|
||||||
|
|
||||||
3. **Set up Node.js and Yarn (for front-end development)**:
|
3. **Set up Node.js and Yarn (for front-end development)**:
|
||||||
- Install Node.js (ensure you're using version 20 or higher)
|
- 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).
|
- 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):
|
- Install Yarn globally via npm (if not already installed):
|
||||||
```bash
|
```bash
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
|
|
||||||
4. **Install frontend dependencies**
|
4. **Install frontend dependencies**
|
||||||
```bash
|
```bash
|
||||||
yarn install
|
yarn install
|
||||||
|
|
||||||
5. **Setup the server**:
|
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 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.
|
- If you're using Nginx, configure the server block to point to the public directory.
|
||||||
|
|
||||||
6. **Run the server**:
|
6. **Run the server**:
|
||||||
```bash
|
```bash
|
||||||
php -S localhost:8000 -t public
|
php -S localhost:8000 -t public
|
||||||
|
|
||||||
7. **Acces the application**:
|
7. **Acces the application**:
|
||||||
- Open a web browser and navigate to http://localhost:8000 (or the appropriate URL based on your server configuration).
|
- Open a web browser and navigate to http://localhost:8000 (or the appropriate URL based on your server configuration).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue