Merge branch 'jaknapper-v3-patch-43034' into 'v3'

Correct docs on running server manually on Pi to include PATH

Closes #796

See merge request openflexure/openflexure-microscope-server!635
This commit is contained in:
Julian Stirling 2026-06-30 18:31:06 +00:00
commit c5867b02e9

View file

@ -65,9 +65,10 @@ There are two types of server available to run:
You can manage the server with the `ofm` command, using `ofm start`, `ofm stop`, and `ofm restart` to do the respective actions. Often, stopping the server and running it manually will make errors easier to spot. To do this, run:
```
ofm activate
ofm stop
cd /var/openflexure
sudo -u openflexure-ws application/openflexure-microscope-server/.venv/bin/openflexure-microscope-server --fallback -c settings/ofm_config.json --host 0.0.0.0 --port 5000
sudo -u openflexure-ws env "PATH=$PATH" openflexure-microscope-server --fallback -c settings/ofm_config.json --host 0.0.0.0 --port 5000
```