Open RLC-DCPPC opened 2 years ago
Why can I not add Mike D'Arcy or Karl C to this issue?
Here are a couple of examples showing how the viewers (one for the Gene page and one for the Anatomy page) are currently referenced:
https://mii.podvis.org/cfde-ge1/gene.html https://mii.podvis.org/cfde-ge1/anatomy.html
There are multiple viewers but only a single set of JavaScript and CSS files that need to be packaged up and released. I'll have to look into whether it's possible to compile/package these in such a way that we don't have to use the "anatomy?numTopGenes=25" style for passing parameters (I think this was mentioned as a potential problem for hosting this as static S3 content.)
The source of those pages actually uses #/anatomy?...
which puts it all in the URL fragment (to the right of #
) so this is all good. Those are interpreted by the browser/page and not sent to the server when requesting the HTML sources.
I was able to get this deployed to the dev server, but it required some changes in how the VUE app was built in production mode, due to the fact that we need this app to function when deployed to a sub-path off of the web root and therefore needed some configuration for finding code and assets at relative URL paths. I've submitted these changes as PR #23.
You can see the app functioning on dev with the following URLs, similar to the ones referenced above:
Put in existing static folder and establish tag and release process and incorporate using npm