diff options
author | Khaled Lela <eng.khaled.lela@gmail.com> | 2022-02-04 00:47:51 +0200 |
---|---|---|
committer | Khaled Lela <eng.khaled.lela@gmail.com> | 2022-02-04 00:47:51 +0200 |
commit | 1e50016f2d8eeea1e8ce72c3f098f30237d207cd (patch) | |
tree | e97200c91e4f10d26c68f8e3f605ce4b055c0d91 | |
parent | 4de0d3953834e367a91255088861ae264f7d561a (diff) |
update README with step 3 of update config cache, and add optional step to describe scorm disk handler with example.
-rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -32,8 +32,42 @@ php artisan vendor:publish --provider="Peopleaps\Scorm\ScormServiceProvider" ``` ## Step 3: +Run config cache for update cached configuration +```sh +php artisan config:cache +``` + +## Step 4: Migrate file to database ```sh php artisan migrate ``` +## Step 5 (Optional): +update SCORM config under config/scorm +- update scorm table names. +- update SCORM disk and configure disk @see config/filesystems.php +``` + 'disk' => 'scorm-local', + 'disk' => 'scorm-s3', + + // @see config/filesystems.php + 'disks' => [ + ..... + 'scorm-local' => [ + 'driver' => 'local', + 'root' => env('SCORM_ROOT_DIR'), // set root dir + 'visibility' => 'public', + ], + + 's3-scorm' => [ + 'driver' => 's3', + 'root' => env('SCORM_ROOT_DIR'), // set root dir + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_SCORM_BUCKET'), + ], + ..... + ] +``` |