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 ```