From ab956fc97a7e27d94dc844331a52dab78a14f612 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Tue, 10 Apr 2018 22:48:13 +0200 Subject: [PATCH] better pyko readme --- pyko/README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pyko/README.md b/pyko/README.md index 8c3f0c3..f3b66bc 100644 --- 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.