From 79974a71e58e29f6127da416ae634abded91d5ac Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 6 Nov 2018 13:57:03 +0000 Subject: [PATCH] Added start_interface usage --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1d341a21..b445ab48 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ This module is currently in very early development, and is perhaps best installe ## Running the web API in Gunicorn (port 5000) - Ensure Gunicorn is installed to the current environment (`pip install gunicorn`) - Run `gunicorn --threads 5 --workers 1 --bind 0.0.0.0:5000 openflexure_microscope.api.app:app` + - Alternatively, run `source start_interface` from the openflexure-microscope-software directory. ## Running tests through the PTVSD remote debugger (port 3000) - From the openflexure-microscope-software directory, run `python3 -m ptvsd --host 0.0.0.0 --port 3000 --wait tests/test_camera.py`