Running
First of all you need a config file called config.json
in your working directory within oju
binary.
Config file example
An example of the config.json
file
json
{
"allowed_applications": [
{
"name": "worker-1",
"app_key": "<app-generated-key>", // Can be an UUID
"host": "http://worker.api.svc.cluster.local" // Example if is stored on kubernetes
}
]
}
Using the binary
In your working directory with your config.json
you just run
sh
./oju
If you are in MacOS you probably will need to allow permission for the binary run.