From 3b2b4c33c674e414a0d78d0e52465c4be51d9108 Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Tue, 17 Mar 2026 16:55:07 +0000 Subject: [PATCH 1/2] Update path to ofm server and config file in docs --- apidocs/dev/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apidocs/dev/README.md b/apidocs/dev/README.md index 6ae64813..451762f1 100644 --- a/apidocs/dev/README.md +++ b/apidocs/dev/README.md @@ -68,7 +68,7 @@ You can manage the server with the `ofm` command, using `ofm start`, `ofm stop`, ofm stop ofm activate cd /var/openflexure -sudo -u openflexure-ws openflexure-microscope-server --fallback -c microscope_configuration.json --host 0.0.0.0 --port 5000 +sudo -u openflexure-ws /var/openflexure/application/openflexure-microscope-server/.venv/bin/openflexure-microscope-server --fallback -c settings/ofm_config.json --host 0.0.0.0 --port 5000 ``` ### Running the simulation server on other platforms From ff5eb22004f6541046f63d65aeb2eb9f569b75e2 Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Tue, 17 Mar 2026 18:14:51 +0000 Subject: [PATCH 2/2] Edit README.md --- apidocs/dev/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apidocs/dev/README.md b/apidocs/dev/README.md index 451762f1..bd68d26a 100644 --- a/apidocs/dev/README.md +++ b/apidocs/dev/README.md @@ -66,9 +66,9 @@ 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 stop -ofm activate cd /var/openflexure -sudo -u openflexure-ws /var/openflexure/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 application/openflexure-microscope-server/.venv/bin/openflexure-microscope-server --fallback -c settings/ofm_config.json --host 0.0.0.0 --port 5000 + ``` ### Running the simulation server on other platforms