ums.utils.const

This file contains shared constants. See the content ...

 1# Agenten Plattform
 2#
 3# (c) 2024 Magnus Bender
 4# 	Institute of Humanities-Centered Artificial Intelligence (CHAI)
 5# 	Universitaet Hamburg
 6# 	https://www.chai.uni-hamburg.de/~bender
 7#  
 8# source code released under the terms of GNU Public License Version 3
 9# https://www.gnu.org/licenses/gpl-3.0.txt
10
11"""
12	This file contains shared constants.
13	See the content ...
14"""
15
16import os, logging
17
18BASE_PATH = '/ums-agenten'
19SHARE_PATH = os.path.join(BASE_PATH, 'share')
20PERSIST_PATH = os.path.join(BASE_PATH, 'persist')
21PUBLIC_PATH = os.path.join(BASE_PATH, 'plattform', 'web', 'public')
22TEMPLATE_PATH = os.path.join(BASE_PATH, 'plattform', 'web', 'templates')
23
24LOG_FILE = os.path.join(PERSIST_PATH, 'ums.log')
25LOG_LEVEL = logging.INFO
BASE_PATH = '/ums-agenten'
SHARE_PATH = '/ums-agenten/share'
PERSIST_PATH = '/ums-agenten/persist'
PUBLIC_PATH = '/ums-agenten/plattform/web/public'
TEMPLATE_PATH = '/ums-agenten/plattform/web/templates'
LOG_FILE = '/ums-agenten/persist/ums.log'
LOG_LEVEL = 20