timelink.mhk package¶
Submodules¶
timelink.mhk.utilities module¶
Utilities for interaction with and MHK installation. MHK is the name of Java Webapp that preceded Timelink.
Joaquim Carvalho, 2021. MIT Licence.
- timelink.mhk.utilities.get_db_pwd()[source]¶
Get the password of the database from the MHL environment
- timelink.mhk.utilities.get_dbnames()[source]¶
Get the names of MHK databases in MySQL
A search is made in the MySQL server running in the local host port 3307
- timelink.mhk.utilities.get_mhk_app_env()[source]¶
Get the mhk app environment variables from mhk-home/app/.env
The .env filed contains information used by docker to create the MHK application and some running options, like header color and docker image tags used for updates.
The .env file is created by the MHK installation process. Its contents can be changed my mhk manager commands.