return else_value if env_var not in os.environ else os.environ[env_var]
// These are the paths for storing data regarding mindsdb models and model info
MINDSDB_STORAGE_PATH = os.path.abspath(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))+"/../storage/")
SQLITE_FILE = ifEnvElse("SQLITE_FILE", "{storage_path}/mindsdb.mdb".format(storage_path=MINDSDB_STORAGE_PATH))
LOCALSTORE_PATH = ifEnvElse("LOCALSTORE_PATH", "{storage_path}/local_jsondb_store".format(storage_path=MINDSDB_STORAGE_PATH))
// You can choose to store info about models in MongoDB or not By default it uses a local object store