-
Notifications
You must be signed in to change notification settings - Fork 496
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
enable previewers in containers #10506
Comments
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 scope:
size: 20 (10 or 30) Stretch goals:
size: TBD Future:
|
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:
The text was updated successfully, but these errors were encountered: