enram / data-repository

Data quality assessment
https://enram.github.io/data-repository/
MIT License
3 stars 1 forks source link

Enable file listing for S3 #14

Closed peterdesmet closed 7 years ago

peterdesmet commented 8 years ago
  1. Use https://github.com/rgrp/s3-bucket-listing
  2. Create a index.html that shows the file listing for the enram data repository
  3. Make the index.html part of the S3 bucket
  4. Also include the index.html in this repo, so we can version it.
peterdesmet commented 7 years ago

1, 2 and 4 are implemented. Not sure yet if we should do 3 (currently it is hosted from github pages)

peterdesmet commented 7 years ago

I think we should serve the website from GitHub:

  1. It has a nicer URL: http://enram.github.io/infrastructure/ vs https://lw-enram.s3-eu-west-1.amazonaws.com/
  2. The URL can remain the same even if we change the bucket name or move technology (in which case we can provide a page linking to the new data repo)
  3. It's easy to update the website (from GitHub), no need to have the credentials to update it on S3
  4. We need to keep the ENRAM GitHub org around anyway for the flow visualization at http://enram.github.io/bird-migration-flow-visualization/viz

The only disadvantage is that we won't have nice directories in the URL: http://enram.github.io/infrastructure/?prefix=be/ instead of nicer http://enram.github.io/infrastructure/be/