๐ŸŒŸ Getting Started

๐Ÿค– Robots

**๐Ÿš€** CLI Job Deployment

Install and configure CLI

  1. Install CLI via pip
python3 -m pip install mb-cli
  1. Configure CLI with environmental variables:
    1. MERKLEBOT_ORGANIZATION_ID could be found at organizations page
    2. MERKLEBOT_USER_TOKEN is generated in profile page
export MERKLEBOT_ORGANIZATION_ID=65c5790d08f4b0d99c47d2e3
export MERKLEBOT_USER_TOKEN=

Enlist robots

You could use CLI to enlist all the robots, connected to organization

python3 -m mb robot list

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ Id                   โ”ƒ Name    โ”ƒ Description โ”ƒ Status  โ”ƒ Api Key             โ”ƒ
โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
โ”‚ 65c579375da145a4751โ€ฆ โ”‚ Jetson1 โ”‚ Merklebot   โ”‚ offline โ”‚ 1f727d6a-0a9c-4c2cโ€ฆ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Add job

You could add jobs with their description string

python3 -m mb job add ARGS_PATH ROBOT1_ID[,ROBOT2_ID]

python3 -m mb job add job_example.json 65c579375da145a475198768
{'ok': True}

ARGS json could be found on platform or copied here

{"image":"hello-world:linux","container_name":"","ports":[],"network_mode":"default","volumes":[],"privileged":false,"store_data":false,"env":[]}

Untitled

Previous: ๐Ÿค– Robots

Untitled