Skip to content

Update to store annotation patches in storage disks#35

Merged
mzur merged 3 commits into
masterfrom
storage-disk
Feb 26, 2019
Merged

Update to store annotation patches in storage disks#35
mzur merged 3 commits into
masterfrom
storage-disk

Conversation

@mzur

@mzur mzur commented Feb 25, 2019

Copy link
Copy Markdown
Member

References #biigle/largo#53

The biigle/distribution setups have to be updated with storage disks for MAIA patches. The configuration can look like this:

'maia-tp' => [
    'driver' => 'local',
    'root' => storage_path('app/public/maia-tp'),
    'url' => env('APP_URL').'/storage/maia-tp',
    'visibility' => 'public',
],
'maia-ac' => [
    'driver' => 'local',
    'root' => storage_path('app/public/maia-ac'),
    'url' => env('APP_URL').'/storage/maia-ac',
    'visibility' => 'public',
],

@mzur

mzur commented Feb 26, 2019

Copy link
Copy Markdown
Member Author

Existing patch files can be migrated with this command (assuming the files are stored in ./storage/maia_patches):

php artisan maia:migrate-patch-storage --dry-run maia_patches

Remove --dry-run to actually execute the command. The files will be uploaded to the configured storage disks. The old directory can be deleted when the command finished successfully.

@mzur mzur marked this pull request as ready for review February 26, 2019 11:48
@mzur mzur merged commit b015b66 into master Feb 26, 2019
@mzur mzur deleted the storage-disk branch February 26, 2019 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant