- PHP
- Composer
- Database Server
- Node.js
- Clone repository
git clone https://github.com/Lenhart03/wtech-eshop
- Get vendor for laravel. Copy it from somewhere or run:
composer install
-
Set up database server
-
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
- Generate key
php artisan key:generate
- Link the storage
php artisan storage:link
- Run migrations
php artisan migrate
- Run npm installation
npm install
- Run following command to build vite
npm run build
- Run web server
php artisan serve