Make sure you have environment setup properly. You will need MySQL, PHP8.1 and composer.
======= Website + API
-
Download the project (or clone using GIT)
-
Copy
.env.example
into.env
and configure database credentials -
Navigate to the project's root directory using terminal
-
Run
composer install
-
Set the encryption key by executing
php artisan key:generate --ansi
-
Run migrations
php artisan migrate --seed
-
Start local server by executing
php artisan serve
-
Open new terminal and navigate to the project root directory
-
Run
npm install
-
Run
npm run dev
to start vite server for Laravel frontend