Skip to content

Commit 43087e7

Browse files
committed
feat: add compilation and installation scripts for MaxKB project
1 parent a76c561 commit 43087e7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

apps/common/management/commands/services/hands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from maxkb.const import CONFIG, PROJECT_DIR
66

77
try:
8-
from apps.smartdoc import const
8+
from apps.maxkb import const
99

1010
__version__ = const.VERSION
1111
except ImportError as e:

apps/common/management/commands/services/services/gunicorn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def cmd(self):
1717
log_format = '%(h)s %(t)s %(L)ss "%(r)s" %(s)s %(b)s '
1818
bind = f'{HTTP_HOST}:{HTTP_PORT}'
1919
cmd = [
20-
'gunicorn', 'smartdoc.wsgi:application',
20+
'gunicorn', 'maxkb.wsgi:application',
2121
'-b', bind,
2222
'-k', 'gthread',
2323
'--threads', '200',

apps/common/management/commands/services/services/local_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def cmd(self):
2727
bind = f'{CONFIG.get("LOCAL_MODEL_HOST")}:{CONFIG.get("LOCAL_MODEL_PORT")}'
2828
worker = CONFIG.get("LOCAL_MODEL_HOST_WORKER", 1)
2929
cmd = [
30-
'gunicorn', 'smartdoc.wsgi:application',
30+
'gunicorn', 'maxkb.wsgi:application',
3131
'-b', bind,
3232
'-k', 'gthread',
3333
'--threads', '200',

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ openpyxl = "3.1.5"
5050
python-docx = "1.1.2"
5151
xlrd = "2.0.1"
5252
xlwt = "1.3.0"
53-
pymupdf = "1.26.1"
53+
pymupdf = "1.24.9"
5454
pypdf = "5.6.0"
5555
gunicorn = "23.0.0"
5656
python-daemon = "3.1.2"

0 commit comments

Comments
 (0)