Skip to content

Commit

Permalink
docs: Update command for MINIO (#430)
Browse files Browse the repository at this point in the history
* docs: Update command for MINIO

* style: newline
  • Loading branch information
saraburns1 committed Jun 7, 2024
1 parent 84e09bc commit 2db667f
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions docs/howto/how_to_bulk_transform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,21 @@ Examples
# Recursively transform any files whose names start with "tracking" from a "logs" directory in the
# MINIO bucket "logs" to all configured LRSs
python manage.py lms transform_tracking_logs \
--source_provider LOCAL \
--source_config '{"key": "/openedx/data", "container": "logs", "prefix":"tracking"}' \
--destination_provider MINIO --destination_config '{"key": "openedx", "secret": "minio secret key", "container": "openedx", "prefix": "transformed_logs/2023-06-01/", "host": "files.local.overhang.io", "secure": false}' \
--source_provider MINIO \
--source_config '{"key": "openedx", "secret": "[minio secret key]", "container": "openedx", "prefix": "tracking", "host": "minio", "port": 9000, "secure": false}' \
--destination_provider LRS \
--transformer_type xapi

python manage.py lms transform_tracking_logs \
--transformer_type xapi
--source_provider S3 \
--source_config '{"key": "AWS key", "secret": "AWS secret", "container": "logs", "prefix":"tracking"}' \
--destination_provider LRS
--source_config '{"key": "openedx", "secret": "[minio secret key]", "container": "openedx", "prefix": "tracking", "host": "minio", "port": 9000, "secure": false}' \
--destination_provider LRS \
--transformer_type xapi

You can also run these commands using a tutor wrapper:

::
tutor local run lms python manage.py lms .....

**Files to Files**

Expand Down

0 comments on commit 2db667f

Please sign in to comment.