Open nathangibson opened 5 years ago
@nathangibson This may be a conversation to have with Dave as well in terms of long term viability. I have been experiencing a lot of instability with variouse eXist-db installs which have left me with a lot of questions about long term viability.
I think investigating an option to output the site as static HTML sounds eminently reasonable, in addition I am very interested in the staticSearch for a different project I will be working on this year, so I can let you know about the feasibility of that as well. The redirects would have to be set up on the server, via jetty or apache httpd I would think. I can investigate what it would take to periodically out put a static version of the site as well as redirects.
RE: Docker you can already do this with Docker. I can help you set it up in terms of having a Docker image for your project with your data and app and necessary libraries pre-loaded.
Thanks @wsalesky. I've put this on the docket for the next Syriaca meeting, not sure when that'll be.
The next meeting is Monday, I can send you the time via email.
Thanks, let me know when you've done that.
I mean the Docker documentation.
@nathangibson Here is the documentation for running the srophe app with docker and docker-compose: https://github.com/srophe/srophe/wiki/Deploying-with-Docker
@davidamichelson expressed an interest in the static HTML version of the record pages as well, and we have a partial solution developed for https://github.com/srophe/bethqatraye. I will go ahead and build it out so it is an XSLT that can be run on the github data which can then be mounted as a 'shadow site' as needed.
Checking up on open issues ... what's the status on this? I should also try out the Docker instructions :-)
@nathangibson The issue has stalled. I simply need to adapt the XSLT scripts to output a full HTML record, it should only take an hour or two, so I will try to fit it into my schedule for the coming week. Thanks for the reminder.
We would like to figure out some more robust ways of archiving the website for both long-term and short-term viability. Can you help us figure out our options and implement the ones that have to do with the Srophe app? (I'm also interested in this for Usaybia, if more support is needed than what BA has available.)
Here are some specific directions I'm thinking.
A simple, archive version of the website (HTML5, JS, CSS) as a fallback for eXist failure and a plug-n-play option if the project needs life support from a different server: Martin Holmes presented at TEI 2019 about using static website versions (generated by eXist), see https://doi.org/10.5281/zenodo.3449196. See also https://projectendings.github.io/principles/ and code at https://github.com/projectEndings/. I don't think we want to go as radical as he does, but I do wonder if we could generate static HTML pages for each item detail page, as well as a browse list with links for single facets (not multiple faceting). This version would probably not have search. (Martin Holmes has created a staticSearch engine at the above Github repo, which uses JS only, but it might be too much work to implement for our purposes.) It would be amazing if there's a way to trigger a redirect to the archival page when eXist hits an error on one or to the archival website in general when the server generates an error code like 501 (i.e. eXist is down). This simple website version is also something we could easily archive and could be redeployed easily if we don't have the overhead for an eXist server, etc.
Do either or both no. 2 and 3 sound like something we could pursue? Or do you have other ideas of how to accomplish these goals?