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
- Host: GitHub
- URL: https://github.com/bjester/kolibri-pexer
- Owner: bjester
- Created: 2019-12-16T20:51:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T01:54:57.000Z (almost 4 years ago)
- Last Synced: 2023-07-31T19:08:00.302Z (over 2 years ago)
- Language: JavaScript
- Size: 101 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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"
}