Initial commit

This commit is contained in:
Honza Horak 2017-05-16 00:05:07 +02:00
commit f3b692ea5b
34 changed files with 1449 additions and 0 deletions

11
test/uwsgi-test-app/app.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
exec uwsgi \
--http-socket :8080 \
--die-on-term \
--master \
--single-interpreter \
--enable-threads \
--threads=5 \
--thunder-lock \
--module wsgi

View file

@ -0,0 +1,2 @@
uWSGI
Flask

View file

@ -0,0 +1,9 @@
from flask import Flask
application = Flask(__name__)
@application.route('/')
def hello():
return b'Hello World from uWSGI hosted WSGI application!'
if __name__ == '__main__':
application.run()