From 359e2588a4962f51c0d5cbdd2823530a15defee0 Mon Sep 17 00:00:00 2001 From: devianl2 Date: Fri, 11 Feb 2022 12:05:11 +0800 Subject: Revert "Improve SCORM disk storage handler" --- README.md | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b0dd5a2..4aaec66 100644 --- a/README.md +++ b/README.md @@ -32,42 +32,8 @@ 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'), - ], - ..... - ] -``` -- cgit v1.2.3