Skip to content
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

Bundle tube map for easy installation into an executable or tarball #453

Open
adamnovak opened this issue Aug 14, 2024 · 4 comments
Open
Assignees

Comments

@adamnovak
Copy link
Member

No description provided.

@adamnovak adamnovak changed the title Bundle tube map for easy isntallation into an executable or tarball Bundle tube map for easy installation into an executable or tarball Aug 14, 2024
@adamnovak
Copy link
Member Author

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
Copy link
Member Author

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

@adamnovak adamnovak self-assigned this Aug 14, 2024
@adamnovak
Copy link
Member Author

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
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant