Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 831 Bytes

README.md

File metadata and controls

60 lines (49 loc) · 831 Bytes

Prerequisites

  • PHP
  • Composer
  • Database Server
  • Node.js

Instructions

  1. Clone repository
git clone https://github.com/Lenhart03/wtech-eshop
  1. Get vendor for laravel. Copy it from somewhere or run:
composer install
  1. Set up database server

  2. Set up .env file (example)

    • Set up database connection example:
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=wtech_eshop
DB_USERNAME=root
DB_PASSWORD=a1b2c3d4
  1. Generate key
php artisan key:generate
  1. Link the storage
php artisan storage:link
  1. Run migrations
php artisan migrate
  1. Run npm installation
npm install
  1. Run following command to build vite
npm run build
  1. Run web server
php artisan serve