Skip to content

Commit 2db667f

Browse files
authored
docs: Update command for MINIO (#430)
* docs: Update command for MINIO * style: newline
1 parent 84e09bc commit 2db667f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

docs/howto/how_to_bulk_transform.rst

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,21 @@ Examples
8282
# Recursively transform any files whose names start with "tracking" from a "logs" directory in the
8383
# MINIO bucket "logs" to all configured LRSs
8484
python manage.py lms transform_tracking_logs \
85-
--source_provider LOCAL \
86-
--source_config '{"key": "/openedx/data", "container": "logs", "prefix":"tracking"}' \
87-
--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}' \
85+
--source_provider MINIO \
86+
--source_config '{"key": "openedx", "secret": "[minio secret key]", "container": "openedx", "prefix": "tracking", "host": "minio", "port": 9000, "secure": false}' \
87+
--destination_provider LRS \
8888
--transformer_type xapi
8989

9090
python manage.py lms transform_tracking_logs \
91-
--transformer_type xapi
9291
--source_provider S3 \
93-
--source_config '{"key": "AWS key", "secret": "AWS secret", "container": "logs", "prefix":"tracking"}' \
94-
--destination_provider LRS
92+
--source_config '{"key": "openedx", "secret": "[minio secret key]", "container": "openedx", "prefix": "tracking", "host": "minio", "port": 9000, "secure": false}' \
93+
--destination_provider LRS \
94+
--transformer_type xapi
95+
96+
You can also run these commands using a tutor wrapper:
97+
98+
::
99+
tutor local run lms python manage.py lms .....
95100

96101
**Files to Files**
97102

0 commit comments

Comments
 (0)