Move server config to a config file

Currently this is "just" a LabThings config file.
This commit is contained in:
Richard Bowman 2024-08-09 01:51:11 +01:00
parent b7f9f6cbaf
commit e3e248c46e
4 changed files with 69 additions and 31 deletions

11
ofm_config_stub.json Normal file
View file

@ -0,0 +1,11 @@
{
"things": {
"/camera/": "openflexure_microscope_server.things.opencv_camera:OpenCVCamera",
"/stage/": "openflexure_microscope_server.things.dummy_stage:DummyStage",
"/system_control/": "openflexure_microscope_server.things.system_control:SystemControlThing",
"/settings/": "openflexure_microscope_server.things.settings_manager:SettingsManager",
"/api_test/": "openflexure_microscope_server.things.test:APITestThing"
},
"settings_folder": "./openflexure_settings/"
}