Releases: openhealthalgorithms/service
Releases · openhealthalgorithms/service
v0.5.0
Changes on this release
- Updated Physical Activity assessment to include
age
range andgender
check (for certain conditions) - Added
config
file to manage the service.
A sample structure of the config file:
[server]
port = "9595" # define port number to run the service. It's your responsibility to select an unused port number.
[files]
guideline_file = "guideline_hearts.json" # name of the guideline JSON file
guideline_content_file = "guideline_hearts_content.json" # name of the guideline content JSON file
goal_file = "goals_hearts.json" # name of the goal JSON file
goal_content_file = "goals_hearts_content.json" # name of the goal content JSON file
log_file = "ohas-logs.db" # name of the logs database file
[directories]
guideline_path = "contents" # path of the directory for guideline JSON and guideline content JSON file
goal_path = "contents" # path of the directory for goal JSON and goal content JSON file
log_file_path = "~" # path of the log file
By default, the system will check for this config file in the following directories (from high to low priority):
/etc/ohas/
/usr/local/ohas/
/usr/local/etc/ohas/
/var/lib/ohas/
Current Directory