You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
Target:
1. let user can install new CARTA locally and operate it. (mainly for local files)
2. better user experience than browser version (but still keep browser version). supply switch function between local and remote servers.
Tech:
electron desktop connects to a local/remote server out of the desktop app.
local server: use docker to host it. And let electron launch it and even update it.
switch function.
Let electron directly invoke CARTA C++ server program is possible. But it makes things complicated and also newCARTA c++ code has a sleep issue so that using Docker should be a better choice.
How to debug? It seems that some IDE, like WebStrom can easily debug Electron apps (main process and renderer process). But this design put the HTML on the server side (http/https, rather than local file system (file://), it may not be easy to debug renderer process. But even so, we still can keep pure browser version and use VS code's debugger for chrome to debug HTML code.
the requirement of multiple instances to compare two files side by side? It is possible to add multiple window in desktop. But a workaround way is to open two browser tabs to connect to localhost or remote server.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Target:
1. let user can install new CARTA locally and operate it. (mainly for local files)
2. better user experience than browser version (but still keep browser version). supply switch function between local and remote servers.
Tech:
Let electron directly invoke CARTA C++ server program is possible. But it makes things complicated and also newCARTA c++ code has a sleep issue so that using Docker should be a better choice.
Proposal:
child_process.spawn
to execture some script to launch CARTA cpp. ref: https://github.com/grimmer0125/electron-face-finder/blob/dev/main.js#L19two ways:
1.. in above main.js, docker-start-dev.sh
2. ./scripts/docker-stop.sh & ./scripts/docker-start-debug.sh, see that repo's readme.
--
Three phases of switch function:
switch mode
UI somewhere.Other to-do features:
repo: https://github.com/CARTAvis/newCARTADesktop.
Issues:
http/https
, rather than local file system (file://
), it may not be easy to debug renderer process. But even so, we still can keep pure browser version and use VS code'sdebugger for chrome
to debug HTML code.The text was updated successfully, but these errors were encountered: