sequenceTubeMap icon indicating copy to clipboard operation
sequenceTubeMap copied to clipboard

Bundle tube map for easy installation into an executable or tarball

Open adamnovak opened this issue 1 year ago • 4 comments

adamnovak avatar Aug 14 '24 16:08 adamnovak

nexe doesn't work for this since the server is an ESM module, but building a CJS bundle and using Node SEA should work.

adamnovak avatar Aug 14 '24 16:08 adamnovak

Having a bundle release would necessitate having an actual release and actually bumping the version number and making tags and releases.

adamnovak avatar Aug 14 '24 16:08 adamnovak

The Lancet ./scripts/prep_stm_viz.sh could fetch, extract, and launch the bundle release.

The script could start the server bundle, and then could also start the browser with an appropriate query string to load the right view (or print the URL).

While we can give step-by-step tube map install instructions that also cover getting a working Node of the right version, there are a lot of things that can go wrong and the users we are targeting are not all capable of troubleshooting those problems. So having a bundle would be good.

adamnovak avatar Aug 14 '24 16:08 adamnovak

If we ship as a tarball we could ship vg and the scripts (and teach the scripts to find vg without $PATH machinery).

adamnovak avatar Aug 14 '24 16:08 adamnovak