Update readme.md
This commit is contained in:
parent
ff404be6c0
commit
7124c292f3
1 changed files with 1 additions and 7 deletions
|
@ -64,30 +64,24 @@ This application is built using the **MVC (Model-View-Controller)** design patte
|
|||
```bash
|
||||
git clone git@git.maartenvr98.nl:maartenvr98/IPcalc-u-later.git
|
||||
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).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue