The web frontend in tart-viewer/
is served as static files:
http://<TART_IP_IN_LOCAL_NETWORK>:80/
https://tart.elec.ac.nz/viewer
For deployment on custom basepath we need to set the BASE_URL
env var.
make deploy
Wait for entering password for tart@tart.elec.ac.nz
The tart-viewer
folder contains the Vue3 frontend code with Vite as the build system.
The rust
folder contains Rust code that is compiled to WebAssembly and used in the frontend.
The withoutBundler
folder contains a minimal example of how to use the compiled Rust code in a frontend without a bundler/build system.