mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-11 17:10:57 +03:00
Add tutorial sections
This commit is contained in:
parent
d638d09bf7
commit
43c5ac03f4
|
@ -1,6 +1,45 @@
|
||||||
Asyncio tutorial
|
Asyncio daemon tutorial
|
||||||
================
|
=======================
|
||||||
|
|
||||||
Coming soon...
|
.. _asyncio-daemon-tutorial:
|
||||||
|
|
||||||
|
This tutorials shows how to build an ``asyncio`` daemon following the dependency injection
|
||||||
|
principle.
|
||||||
|
|
||||||
|
Start from the scratch or jump to the section:
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
:local:
|
||||||
|
:backlinks: none
|
||||||
|
|
||||||
|
You can find complete project on the
|
||||||
|
`Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/monitoring-daemon-asyncio>`_.
|
||||||
|
|
||||||
|
What are we going to build?
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
Prepare the environment
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
Project layout
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Install the requirements
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
Minimal application
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
HTTP monitor
|
||||||
|
------------
|
||||||
|
|
||||||
|
Add another monitor
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Tests
|
||||||
|
-----
|
||||||
|
|
||||||
|
Conclusion
|
||||||
|
----------
|
||||||
|
|
||||||
.. disqus::
|
.. disqus::
|
||||||
|
|
Loading…
Reference in New Issue
Block a user