File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 33## Installation
44Make sure you have environment setup properly. You will need MySQL, PHP8.1 and composer.
55
6+ ### Install Laravel Website + API
671 . Download the project (or clone using GIT)
782 . Copy ` .env.example ` into ` .env ` and configure database credentials
893 . Navigate to the project's root directory using terminal
9104 . Run ` composer install `
10115 . Set the encryption key by executing ` php artisan key:generate --ansi `
11- 6 . Run migrations ` php artisan migrate `
12+ 6 . Run migrations ` php artisan migrate --seed `
12137 . Start local server by executing ` php artisan serve `
14+ 8 . Open new terminal and navigate to the project root directory
15+ 9 . Run ` npm install `
16+ 10 . Run ` npm run dev ` to start vite server for Laravel frontend
17+
18+ ### Install Vue.js Admin Panel
19+ 1 . Navigate to ` backend ` folder
20+ 2 . Run ` npm install `
21+ 3 . Copy ` backend/.env.example ` into ` backend/.env `
22+ 4 . Make sure ` VITE_API_BASE_URL ` key in ` backend/.env ` is set to your Laravel API host (Default: http://localhost:8000 )
23+ 5 . Run ` npm run dev `
24+ 6 . Open Vue.js Admin Panel in browser and login with
25+ ```
26+ 27+ admin123
28+ ```
You can’t perform that action at this time.
0 commit comments