Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add viewer for TSV data uploaded to s3 #20

Closed
macbre opened this issue Mar 1, 2018 · 0 comments
Closed

Add viewer for TSV data uploaded to s3 #20

macbre opened this issue Mar 1, 2018 · 0 comments

Comments

@macbre
Copy link
Owner

macbre commented Mar 1, 2018

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);
});
@macbre macbre changed the title Add viewer for JS wrapped tsv data Add viewer for TSV data uploaded to s3 May 10, 2018
macbre added a commit that referenced this issue May 10, 2018
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

No branches or pull requests

1 participant