Archived
重写&重构项目, 优化项目结构
This commit is contained in:
33 files changed
+344
-966
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python3
|
||||
# -- coding:utf-8 --
|
||||
# @Author: markushammered@gmail.com
|
||||
# @Development Tool: PyCharm
|
||||
# @Create Time: 2022/3/25
|
||||
# @File Name: manage.py
|
||||
|
||||
|
||||
from gevent import pywsgi
|
||||
from app import create_app
|
||||
|
||||
app = create_app()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
server = pywsgi.WSGIServer(('0.0.0.0', 5000), app, log=None)
|
||||
server.serve_forever()
|
||||
Reference in New Issue
Block a user