telemetry dashboard add
All checks were successful
Build And Test / build-and-push (push) Successful in 4m35s
All checks were successful
Build And Test / build-and-push (push) Successful in 4m35s
This commit is contained in:
@ -18,13 +18,13 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
# 우선순위: .env.prd > .env.dev > .env
|
||||
if os.path.exists(os.path.join(BASE_DIR, '.env.prd')):
|
||||
print("Read ::: .env.prd")
|
||||
print("Read Environment File > Used : .env.prd")
|
||||
load_dotenv(os.path.join(BASE_DIR, '.env.prd'))
|
||||
elif os.path.exists(os.path.join(BASE_DIR, '.env.dev')):
|
||||
print("Read ::: .env.dev")
|
||||
print("Read Environment File > Used : .env.dev")
|
||||
load_dotenv(os.path.join(BASE_DIR, '.env.dev'))
|
||||
else:
|
||||
print("Read ::: local_env")
|
||||
print("None Environment File > Used : local_env")
|
||||
|
||||
# load_dotenv(os.path.join(BASE_DIR, '.env.dev'))
|
||||
|
||||
@ -62,6 +62,7 @@ INSTALLED_APPS = [
|
||||
'mm_msg',
|
||||
'ansible_manager',
|
||||
'obs_minio',
|
||||
'telemetry_dashboard',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
@ -31,6 +31,7 @@ urlpatterns = [
|
||||
path('mm_msg/', include('mm_msg.urls')),
|
||||
path('ansible_manager/', include('ansible_manager.urls')),
|
||||
path('obs_minio/', include('obs_minio.urls')),
|
||||
path('tm_dsbd/', include('telemetry_dashboard.urls')),
|
||||
]
|
||||
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
Reference in New Issue
Block a user