Installation¶
Install plotsrv into the Python environment where the code will run.
Check the CLI¶
Run:
This should print the plotsrv command-line help.
Try a first publish¶
To check the UI:
import plotsrv as ps
ps.publish_view(
{"status": "ok"},
label="install check",
launch_server=True,
)
Open:
The object should appear in the browser UI.
Working on a remote server¶
For SSH-based work, port forwarding is usually the simplest starting point.
Run this on the local machine:
Then run plotsrv on the server and open this locally:
Avoid exposing plotsrv directly to a public network unless access controls and network boundaries have been considered.
Next step¶
Continue to Quick start.