Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 716 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 716 Bytes

Classera System Integration 1

Installation

  • Clone Project
git clone [email protected]:ahmad-marzouq/classera_system1.git
cd classera_system1
  • Run Composer Install
composer install
  • Run Npm Install
npm install
npm run dev
  • Fill .env file config
DB_DATABASE=<db_name>
DB_USERNAME=<db_user>
DB_PASSWORD=<db_password>

SYSTEM2_HOST=<system2_host>
SYSTEM2_CLIENT_ID="" #Using php artisan pasport:client --client in system2
SYSTEM2_CLIENT_SECRET=""
SYSTEM2_SSO_CLIENT_ID=""#Using php artisan passport:client --name="SSO Login" --public in system2
  • Run Migrations
php artisan migrate
  • You can create a new user using the /register route