Wiki source code of gemma-client
Version 2.1 by Martin SZOTKOWSKI on 2023/06/13 12:57
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | * installation: |
| 2 | ** part of the installation sima package | ||
| 3 | ** sudo apt install python3-pip | ||
| 4 | sudo apt install python3-testresources | ||
| 5 | sudo apt install jq # parsing json | ||
| 6 | sudo pip install gemma-client-1.1.10.tar.gz | ||
| 7 | * usage: | ||
| 8 | ** gemma-client ~-~-help | ||
| 9 | ** gemma-client download ~-~-help | ||
| 10 | ** gemma-client upload ~-~-help | ||
| |
2.1 | 11 | ** gemma-client download ~-~-no-verify ~-~-hostname sima.imtm.cz ~-~-username admin ~-~-password xxx **6a3717de-fdfd-11ed-9978-02420a000126** . |
| |
1.1 | 12 | *** DATASET_ID is the Measurement.DATASET_ID |
| |
2.1 | 13 | *** [[image:attach:image-2023-6-13_14-50-15.png||height="250"]] |
| |
1.1 | 14 | ** gemma-client **upload **~-~-no-verify ~-~-hostname 158.194.103.196 ~-~-username admin ~-~-password xxx **06f7bb18-09e9-11ee-b88a-02420a000426** "Harmony IDX/TIF" . |
| |
2.1 | 15 | *** SCREEN_ID is the Screen.SCREEN_ID |
| 16 | *** [[image:attach:image-2023-6-13_14-53-36.png||height="250"]] | ||
| |
1.1 | 17 | ** or you can upload to the new screen |
| 18 | ** gemma-client **upload **~-~-no-verify ~-~-hostname 158.194.103.196 ~-~-username admin ~-~-password xxx ~-~-screen-name '**new screen name**' $(**uuidgen**) "Harmony IDX/TIF" . | ||
| |
2.1 | 19 | ** DATASET_TYPE can be found on the address: |
| 20 | *** [[https:~~/~~/sima.imtm.cz/datastore/datatypes>>url:https://sima.imtm.cz/datastore/datatypes||shape="rect"]] | ||
| |
1.1 | 21 | |
| 22 | \\ |