Skip to content

Commit

Permalink
Update minio_usage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam authored Nov 18, 2024
1 parent f27262b commit 6cb21c5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/minio_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,21 @@ MinIO buckets can also be managed through [oscar-cli command-line](https://githu
- [put-file](https://docs.oscar.grycap.net/oscar-cli/#put-file): Upload a file on a service storage provider.

An example of a put-file operation:
``` sh

``` bash
oscar-cli service put-file fish-detector.yaml minio .path/to/your/images ./fish-detector/input/
```

- **mc**: If a user wants to use the MinIO client it needs to follow some previous steps.
- *Install the client*: Detailed instructions for installing the MinIO client (mc) are available in [the official documentation](https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc).
- *Configure the MinIO instance*: The client requires credentials to connect and interact with the MinIO instance. This configuration can be set with the following command:

``` sh
``` bash
mc alias set myminio https://minio.gracious-varahamihira6.im.grycap.net YOUR-ACCESS-KEY YOUR-SECRET-KEY
```

Once the client is configured, users can perform various operations supported by the MinIO client. For a complete list of available commands and their usage, refer to the [MinIO client reference](https://min.io/docs/minio/linux/reference/minio-mc.html#command-quick-reference). The following example demonstrates a PUT operation, where a file is uploaded to a specific folder within a bucket.
``` sh

```bash
mc cp /path/to/your/images/*.jpg myminio/fish-detector/input/
```

0 comments on commit 6cb21c5

Please sign in to comment.