升级后端并开源UI

This commit is contained in:
pycook
2019-08-28 20:34:10 +08:00
committed by pycook
parent 420c6cea2b
commit 12ca296879
115 changed files with 5244 additions and 4543 deletions

9
celery_worker.py Normal file
View File

@@ -0,0 +1,9 @@
# -*- coding:utf-8 -*-
from api.app import create_app
from api.extensions import celery
# celery worker -A celery_worker.celery -l DEBUG -E -Q xxxx
app = create_app()
app.app_context().push()