mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +00:00
Fix video srt & transcript upload
Transcripts and video were being uploaded to /edx/var/edxapp/media. This is for issue #138.
This commit is contained in:
parent
c42b747e35
commit
deeb475428
@ -8,6 +8,10 @@ update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG)
|
||||
# Set uploaded media file path
|
||||
MEDIA_ROOT = "/openedx/data/uploads/"
|
||||
|
||||
# Video settings
|
||||
VIDEO_IMAGE_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
VIDEO_TRANSCRIPTS_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
|
||||
# Change syslog-based loggers which don't work inside docker containers
|
||||
LOGGING['handlers']['local'] = {'class': 'logging.NullHandler'}
|
||||
LOGGING['handlers']['tracking'] = {
|
||||
|
@ -6,6 +6,10 @@ update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG)
|
||||
|
||||
MEDIA_ROOT = "/openedx/data/uploads/"
|
||||
|
||||
# Video settings
|
||||
VIDEO_IMAGE_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
VIDEO_TRANSCRIPTS_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
|
||||
# Change syslog-based loggers which don't work inside docker containers
|
||||
LOGGING['handlers']['local'] = {'class': 'logging.NullHandler'}
|
||||
LOGGING['handlers']['tracking'] = {
|
||||
|
@ -8,6 +8,10 @@ update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG)
|
||||
# Set uploaded media file path
|
||||
MEDIA_ROOT = "/openedx/data/uploads/"
|
||||
|
||||
# Video settings
|
||||
VIDEO_IMAGE_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
VIDEO_TRANSCRIPTS_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
|
||||
# Change syslog-based loggers which don't work inside docker containers
|
||||
LOGGING['handlers']['local'] = {'class': 'logging.NullHandler'}
|
||||
LOGGING['handlers']['tracking'] = {
|
||||
|
@ -8,6 +8,10 @@ update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG)
|
||||
# Set uploaded media file path
|
||||
MEDIA_ROOT = "/openedx/data/uploads/"
|
||||
|
||||
# Video settings
|
||||
VIDEO_IMAGE_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
VIDEO_TRANSCRIPTS_SETTINGS['STORAGE_KWARGS']['location'] = MEDIA_ROOT
|
||||
|
||||
# Change syslog-based loggers which don't work inside docker containers
|
||||
LOGGING['handlers']['local'] = {'class': 'logging.NullHandler'}
|
||||
LOGGING['handlers']['tracking'] = {
|
||||
|
Loading…
Reference in New Issue
Block a user