Skip to content

Flex "upload" function so users can define local system instead of S3 #382

@alanwilter

Description

@alanwilter

In order to allow users to have a customised version of PGB working locally we need to address the way patient files are uploaded.

Currently, all goes to our S3:

aws s3 ls --profile phenopolis s3://phenopolis-website-uploads
PRE PH00000001/
PRE PH00008258/
PRE PH00008268/
PRE PH00008628/
PRE PH00008629/
PRE vcf/

And it's essentially done in React (frontend) via Uppy with some support endpoints in views/upload.py (but only for managing files, not for really uploading them).

Uppy seems to be very powerful and entails several options for upload including "local device".

We need, somehow, to have this option, for "local device". However, how is it going to be configured, either via frontend or in, e.g., public.env file, is still an opened question.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions