forked from platypush/platypush
Made a separate uWSGI startup script for the webapp
This commit is contained in:
parent
c74b939660
commit
e3fcebe4b6
2 changed files with 11 additions and 4 deletions
|
@ -21,8 +21,4 @@ for route in get_routes():
|
|||
application.register_blueprint(route)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
application.run()
|
||||
|
||||
|
||||
# vim:sw=4:ts=4:et:
|
||||
|
|
11
platypush/backend/http/app/uwsgi.py
Normal file
11
platypush/backend/http/app/uwsgi.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
"""
|
||||
uWSGI webapp startup script
|
||||
"""
|
||||
|
||||
from . import application
|
||||
|
||||
if __name__ == '__main__':
|
||||
application.run()
|
||||
|
||||
|
||||
# vim:sw=4:ts=4:et:
|
Loading…
Reference in a new issue