Installation after cloning - VernPherus/PartsOff_web GitHub Wiki
Installing Laravel Website + API
- Clone the Project
- Copy .env.example into .env and configure database credentials
cp .env.example .env
- Navigate to the project's root directory using terminal
- Run
Composer require
- Set the encryption key by executing
php artisan key:generate --ansi
- Run migaration
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 --legacy-peer-deps
- Run
npm run dev
Install Vue.js Admin Panel
- Navigate to backend folder.
cd backend
- Run
npm install --legacy-peer-deps
- Copy .env.example in the backend folder
cp .env.example .env
- Change the VITE_API_BASE_URL key in .env set it in to your laravel host(http://localhost:3000)
- Run npm run dev