升级后端并开源UI

This commit is contained in:
pycook
2019-08-28 20:34:10 +08:00
parent 41ca61c826
commit 1628c1b2c2
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()