commit ab956fc97a7e27d94dc844331a52dab78a14f612
parent bb210db3dff2896b18fe508eb97c8248dd4a45fb
Author: Joris Vink <joris@coders.se>
Date: Tue, 10 Apr 2018 22:48:13 +0200
better pyko readme
Diffstat:
pyko/README.md | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/pyko/README.md b/pyko/README.md
@@ -23,7 +23,17 @@ Your python application directory must have the following layout:
```
python_app/
kore.conf <- actual kore configuration
- __init__.py <- usual python init stuff
+ __init__.py <- module initialization (binds, worker setup)
+ handlers.py <- handler code
+```
+
+You can easily use the kodev tool from kore to create an application
+skeleton that gets you going:
+
+```
+ $ kodev create -p myapp
+ $ cd myapp
+ $ pyko -frn
```
Usage
@@ -37,3 +47,5 @@ Usage
-n = skip chroot
-r = skip privilege drop
```
+
+You can run pyko from inside the module directory directly as well.