From cacc268b0270a592201545a8ae2d445cc17f6c37 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Tue, 30 Jun 2026 18:05:46 +0000 Subject: [PATCH] Apply suggestions from code review of branch jaknapper-v3-patch-43034 --- apidocs/dev/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apidocs/dev/README.md b/apidocs/dev/README.md index 500a67fd..0631a044 100644 --- a/apidocs/dev/README.md +++ b/apidocs/dev/README.md @@ -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 -E -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 ```