mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
better pyko readme
This commit is contained in:
parent
bb210db3df
commit
ab956fc97a
@ -23,7 +23,17 @@ Your python application directory must have the following layout:
|
|||||||
```
|
```
|
||||||
python_app/
|
python_app/
|
||||||
kore.conf <- actual kore configuration
|
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
|
Usage
|
||||||
@ -37,3 +47,5 @@ Usage
|
|||||||
-n = skip chroot
|
-n = skip chroot
|
||||||
-r = skip privilege drop
|
-r = skip privilege drop
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can run pyko from inside the module directory directly as well.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user