Installation after cloning - VernPherus/PartsOff_web GitHub Wiki

Installing Laravel Website + API

  1. Clone the Project
  2. Copy .env.example into .env and configure database credentials cp .env.example .env
  3. Navigate to the project's root directory using terminal
  4. Run Composer require
  5. Set the encryption key by executing php artisan key:generate --ansi
  6. Run migaration php artisan migrate --seed
  7. Start local server by executing php artisan serve
  8. Open new terminal and navigate to the project root directory
  9. Run npm install --legacy-peer-deps
  10. Run npm run dev

Install Vue.js Admin Panel

  1. Navigate to backend folder. cd backend
  2. Run npm install --legacy-peer-deps
  3. Copy .env.example in the backend folder cp .env.example .env
  4. Change the VITE_API_BASE_URL key in .env set it in to your laravel host(http://localhost:3000)
  5. Run npm run dev