python学习

This commit is contained in:
2019-08-06 14:17:42 +08:00
parent 6569d29d7e
commit 54761c6262
52 changed files with 2943 additions and 647 deletions

View File

@@ -2,10 +2,14 @@
from application import app,manager
from flask_script import Server
import www
from jobs.launcher import runJob
##web server
manager.add_command( "runserver", Server( host='0.0.0.0',port=app.config['SERVER_PORT'],use_debugger = True ,use_reloader = True) )
#job entrance
manager.add_command('runjob', runJob() )
def main():
manager.run( )