Skip to content

Add viewer for TSV data uploaded to s3 #20

Closed
@macbre

Description

@macbre

This will allow us to store data-flow TSV files on s3 storage.

Setting CORS

<CORSConfiguration>
<CORSRule>
    <ID>Allow
    everything</ID>
    <AllowedOrigin>*</AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
    <AllowedMethod>HEAD</AllowedMethod>
    <AllowedMethod>PUT</AllowedMethod>
    <AllowedMethod>POST</AllowedMethod>
    <AllowedMethod>DELETE</AllowedMethod>
    <AllowedHeader>*</AllowedHeader>
    <MaxAgeSeconds>30</MaxAgeSeconds>
</CORSRule>
</CORSConfiguration>
s3cmd setcors rules.xml s3://bucket_name

See elecena/data-flow@790c0fd

Fetching TSV file

jQuery.get('https://s3.amazonaws.com/s3.macbre.net/data_flow/database.tsv').then(function(data) {
        console.log(data);
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions