Closed
Description
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
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
Labels
No labels