add bottle simple_server using gunicorn

This commit is contained in:
narzeja 2016-10-16 07:52:10 +02:00
parent 4153028096
commit a320bc28a6
2 changed files with 12 additions and 0 deletions

View File

@ -5,3 +5,5 @@ aiohttp
pytest
coverage
tox
gunicorn
bottle

View File

@ -0,0 +1,10 @@
from bottle import route, run
import ujson
@route('/')
def index():
return ujson.dumps({'test': True})
run(server='gunicorn', host='0.0.0.0', port=8080)