You've already forked hotpocket
This commit is contained in:
1
services/backend/ops/metal/settings/__init__.py
Normal file
1
services/backend/ops/metal/settings/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# type: ignore
|
||||
17
services/backend/ops/metal/settings/admin.py
Normal file
17
services/backend/ops/metal/settings/admin.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# type: ignore
|
||||
# flake8: noqa
|
||||
from __future__ import annotations
|
||||
|
||||
from hotpocket_backend.settings.admin import *
|
||||
|
||||
DEBUG = True
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
INSTALLED_APPS += [
|
||||
'django_extensions',
|
||||
]
|
||||
|
||||
LOGGING['loggers']['hotpocket_backend']['level'] = 'DEBUG'
|
||||
LOGGING['loggers']['hotpocket_common']['level'] = 'DEBUG'
|
||||
LOGGING['loggers']['hotpocket_soa']['level'] = 'DEBUG'
|
||||
14
services/backend/ops/metal/settings/testing.py
Normal file
14
services/backend/ops/metal/settings/testing.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# type: ignore
|
||||
# flake8: noqa
|
||||
from __future__ import annotations
|
||||
|
||||
from hotpocket_backend.settings.webapp import *
|
||||
|
||||
DEBUG = False
|
||||
TESTING = True
|
||||
|
||||
ROOT_URLCONF = 'hotpocket_backend.urls.testing'
|
||||
|
||||
CELERY_BROKER_URL = 'amqp://guest@rabbitmq.testing.hotpocket/'
|
||||
CELERY_RESULT_BACKEND = 'disabled://'
|
||||
28
services/backend/ops/metal/settings/webapp.py
Normal file
28
services/backend/ops/metal/settings/webapp.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# type: ignore
|
||||
# flake8: noqa
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
from hotpocket_backend.settings.webapp import *
|
||||
|
||||
DEBUG = True
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
INSTALLED_APPS += [
|
||||
'django_extensions',
|
||||
]
|
||||
|
||||
LOGGING['loggers']['hotpocket_backend']['level'] = 'DEBUG'
|
||||
LOGGING['loggers']['hotpocket_common']['level'] = 'DEBUG'
|
||||
LOGGING['loggers']['hotpocket_soa']['level'] = 'DEBUG'
|
||||
|
||||
CELERY_BEAT_SCHEDULE_FILENAME = 'run/celerybeat-schedule'
|
||||
|
||||
UPLOADS_PATH = Path(
|
||||
os.environ.get(
|
||||
'HOTPOCKET_BACKEND_UPLOADS_PATH',
|
||||
os.path.join(os.getcwd(), 'run/uploads'),
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user