예제 #1
0
파일: run.py 프로젝트: MicroMote/Server
from MicroMote import create_app

# TODO make a better launcher
app = create_app()
app.run(host='0.0.0.0', port=8080, debug=True)
예제 #2
0
 def create_app(self):
     app = create_app(config=TestingConfig)
     return app
예제 #3
0
파일: __init__.py 프로젝트: yarving/Server
 def create_app(self):
     app = create_app(config=TestingConfig)
     return app