An open API service indexing awesome lists of open source software.

https://github.com/bjester/kolibri-pexer

A tool for quickly running many Kolibri .pex files
https://github.com/bjester/kolibri-pexer

Last synced: 3 months ago
JSON representation

A tool for quickly running many Kolibri .pex files

Awesome Lists containing this project

README

          

# kolibri-pexer
A tool for quickly running many Kolibri .pex files

## Usage
```bash
$ pexer --help
pexer

Commands:
pexer config outputs the config
pexer download downloads a PEX with specific version
pexer info shows info for a Kolibri pex
pexer init initialize a home directory for a Kolibri pex
pexer manage [args..] manage a Kolibri pex
pexer rm removes a home directory for a Kolibri pex
pexer run run a Kolibri pex [aliases: r, start]
pexer stop 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:
```json
{
"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:
```json
{
"homeDirectory": "~/.kolibri-pexer",
"homeTemplate": "~/.kolibri",
"contentDirectory": "~/.kolibri/content",
"python": "python",
"runMode": "test"
}