Open pdurbin opened 7 months ago
Should we consider enabling all previewers? And let people delete the ones they don't want?
dataverse-ansible already installs some previewers. Can we share a script between ansible and our Docker images?
https://github.com/gdcc/dataverse-previewers/blob/develop/6.1curlcommands.md is fine as a README but it feels a bit weird to copy each curl command into a script.
This just in, @gschmutz of Platys fame has some ideas:
We can warm up this thread if we like: https://dataverse.zulipchat.com/#narrow/channel/375812-containers/topic/enable.20previewers/near/434165029
In today's Containerization Working Group meeting (recording, notes) I explained that I would like to have file previewers in our containerized dev and demo environments.
(I want other things too such as language packs and CVOC scripts but previewers feels like a good place to start.)
There were several suggestions of how to accomplish this, but I said I'd start with the simplest one, which is to use the previewers hosted on GitHub Pages. Unfortunately, this doesn't work, due to CORS.
This is the URL I'm using to try to preview the file: http://localhost:8080/file.xhtml?fileId=18&version=DRAFT&toolType=PREVIEW
Here's the curl command I used from https://github.com/gdcc/dataverse-previewers/blob/1.4/6.1curlcommands.md
Here's the CORS error:
We'll need to determine what to try next. Possible solutions:
Related discussion: