gdcc / dataverse-previewers

A collection of Datafile Previewers that can be configured to work with Dataverse
MIT License
5 stars 15 forks source link

Local Install support #63

Closed qqmyers closed 3 months ago

qqmyers commented 3 months ago

A script that can be run on any version to change all external js and css links to relative ones that reference downloaded copies. Building on the download script from @BenediktMeierUIT.

This is currently a draft. To go forward, I'd suggest we add instructions on how to generate a local copy using the script and perhaps add changing the example configuration curl commands to use whatever the local url will be so that it is easier to just cut/paste those.

If there's interest in providing a zip of the latest previewers, example configs, etc. for local install, we could look into creating real releases with that zip as a download (in addition to keeping the per version folders to support github.io access). (Could be a manual process or perhaps automated. Would be hard to modify the config examples for this though as we wouldn't know the final URL.)

qqmyers commented 3 months ago

Merging so other PRs can pick this up