Skip to content

A tool for quickly running many Kolibri .pex files

Notifications You must be signed in to change notification settings

bjester/kolibri-pexer

Repository files navigation

kolibri-pexer

A tool for quickly running many Kolibri .pex files

Usage

$ pexer --help
pexer <command>

Commands:
  pexer config                           outputs the config
  pexer download <kolibri_version>       downloads a PEX with specific version
  pexer info <pex>                       shows info for a Kolibri pex
  pexer init <pex>                       initialize a home directory for a Kolibri pex
  pexer manage <pex> [args..]            manage a Kolibri pex
  pexer rm <pex>                         removes a home directory for a Kolibri pex
  pexer run <pex>                        run a Kolibri pex [aliases: r, start]
  pexer stop <pex>                       stop an already background running Kolibri pex

Options:
  --version     Show version number                                    [boolean]
  --verbose     enable verbose output                 [boolean] [default: false]
  --python, -p  python binary to use                                    [string]
  --port        the port to run Kolibri on              [number] [default: 8080]
  --clean       do not use content directory or home template
                                                      [boolean] [default: false]
  --help        Show help                                              [boolean]

Customization

Add an .pexerrc file to your home directory. The config is JSON and is as follows:

{
  "homeDirectory": "/path/to/directory/where/all/homes/will/be/created",
  "homeTemplate": "/path/to/existing/home/used/as/template",
  "contentDirectory": "/path/to/content/directory",
  "python": "python",
  "runMode": "blaine"
}

Defaults are:

{
  "homeDirectory": "~/.kolibri-pexer",
  "homeTemplate": "~/.kolibri",
  "contentDirectory": "~/.kolibri/content",
  "python": "python",
  "runMode": "test"
}

About

A tool for quickly running many Kolibri .pex files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published