Skip to content

luongtu996/lti-provider

Repository files navigation

How to run

#Copy .env.example to .env

# Alias sail
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'

# Start sail

sail up

#Generate key 
sail artisan key:generate

# run migrate
sail artisan migrate

Config Lms

Screen Shot 2023-10-27 at 10 56 03

Screen Shot 2023-10-27 at 10 56 16

Screen Shot 2023-10-27 at 11 00 14

Screen Shot 2023-10-27 at 11 01 49

Config Lti tool

Config in Database\Seeders\LtiSeeder;

Screen Shot 2023-10-27 at 11 03 37

Then run

sail artisan db:seed --class=LtiSeeder

Reproduce

Screen Shot 2023-10-27 at 11 08 41 Screen Shot 2023-10-27 at 11 11 18

Fix lỗi không submit grade.

là do lms không get được {app}/keys. Sửa jwk method = PublicJWK. Copy json từ url {app}/keys paste vào

Screen Shot 2023-11-10 at 16 18 34

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

Test lti provider using laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published