main: Added worker interactions

This commit is contained in:
2023-08-16 16:59:57 +10:00
parent aa8dc9476e
commit 02457ceddf
6 changed files with 93 additions and 11 deletions

View File

@@ -24,4 +24,10 @@ Install prerequisites:
```
chmod +x install.sh
./install.sh
```
Add worker to master server:
```
curl -X POST http://master-server-ip:5000/add-worker?worker=worker-name&ip=worker-server-ip -H "key: api-key"
```