tiqi-group / pydase

A flexible and robust Python library for creating, managing, and interacting with data services, with built-in support for web and RPC servers, and customizable features for diverse use cases.
MIT License
0 stars 1 forks source link

Settings repo #87

Closed philipleindecker closed 5 months ago

philipleindecker commented 5 months ago

Settings repo (as already discussed) → for separation between the settings and the device code (also see Plan for Service Structure Also relevant for the repos that the Research Assistants are writing. The later it comes the more they need to rewrite afterwards.

mosmuell commented 5 months ago

I try to make all things configurable through the config module. The user can set the config directory using the environment variable $SERVICE_CONFIG_DIR which defaults to the "config" folder in the root folder of the service. This folder is used to store the web settings. You can also use this folder to store your personal service config (access to the path is provided through ServiceConfig().config_dir).

If you think there are still some things missing, feel free to reopen the issue.