Made a separate uWSGI startup script for the webapp

This commit is contained in:
Fabio Manganiello 2019-02-24 00:17:31 +01:00
parent c74b939660
commit e3fcebe4b6
2 changed files with 11 additions and 4 deletions

View File

@ -21,8 +21,4 @@ for route in get_routes():
application.register_blueprint(route)
if __name__ == '__main__':
application.run()
# vim:sw=4:ts=4:et:

View File

@ -0,0 +1,11 @@
"""
uWSGI webapp startup script
"""
from . import application
if __name__ == '__main__':
application.run()
# vim:sw=4:ts=4:et: