mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
About
Pyko is a single binary kore build aimed at starting kore python applications in a more easy and straight forward manner.
Building
This kore application builds with PYTHON=1 and PGSQL=1 automatically. See the kore README file on what dependencies are required for this.
From the root kore directory run:
$ make -C kodev
$ make -C pyko
$ sudo make -C pyko install
App layout
Your python application directory must have the following layout:
python_app/
kore.conf <- actual kore configuration
__init__.py <- usual python init stuff
Usage
$ pyko -frn python_app
-f = foreground
-n = skip chroot
-r = skip privilege drop