- PHP ^8.1
- Node ^16.0
- MySQL
- Download.
- Clone GitHub repository:
- HTTPS:
git clone https://github.com/Oloxx/Projecte-M12.git - SSH:
git clone git@github.com:Oloxx/Projecte-M12.git
- HTTPS:
- Open the cloned repository:
cd Projecte-M12
- Set up environment.
- Install Composer:
composer install
- Install Node:
npm install
- .env file:
- Copy the .env.example and rename it to .env
- Add your MySQL user and password
- Generate App Key
php artisan key:generate
- Create Database & Run Laravel migrations and seeders:
If you already created the database, you can simply run
php artisan migratewithout theyes |
yes | php artisan migratephp artisan db:seed
- Start environment.
- Run Node:
npm run dev
- Run Laravel:
php artisan serve
- Open your browser and go to
localhost:8000