Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant find example how to start aiohttp server #442

Open
oleksandr-l5 opened this issue Apr 26, 2019 · 0 comments
Open

Cant find example how to start aiohttp server #442

oleksandr-l5 opened this issue Apr 26, 2019 · 0 comments

Comments

@oleksandr-l5
Copy link

oleksandr-l5 commented Apr 26, 2019

Need to start app on aiohttp and want do this by uwsgi but cant configure it self
my config

[uwsgi]
plugins=python3,asyncio_python3,greenlet_python3,gevent_python3,ugreen_plugin
http-socket=:9090
#wsgi-file=app.py
home=/home/user54/sio
callable=app
asyncio=10
http-websockets=true
debug=true
master=true
module=app2
#async=10
greenlet=true

my app

from aiohttp import web

async def index(request):
return web.Response(text="Welcome home!")

app = web.Application()
app.router.add_get('/', index)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant