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:
commit
c5867b02e9
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
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
|
ofm stop
|
||||||
cd /var/openflexure
|
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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue