-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Feature Request] Provide a simpler method to run an app locally #690
Comments
+1 for util function, also aiohttp package can define console script
|
What console script should do? |
something like |
+1 for CLI, but is it a good idea to make |
+1 for |
Fixed by #734 |
Right now, there are several examples that run an app locally in sightly different ways (see tests/autobahn/server.py, examples/web_srv.py, examples/web_ws.py, http://aiohttp.readthedocs.org/en/stable/#getting-started and http://aiohttp.readthedocs.org/en/stable/web.html#run-a-simple-web-server). And if you want to start testing your app, you need to copy that (boilerplate) code snippet.
I propose adding a utility function, or a method to run and app locally in a simpler way.
Right now my utility function is as follows:
alternatively, this function could be a method of an app.
The text was updated successfully, but these errors were encountered: