mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 06:07:56 +00:00
Fix incorrect django settings during CMS init
This commit is contained in:
parent
c89a5d3c3a
commit
fbafd1c301
@ -1,4 +1,9 @@
|
|||||||
dockerize -wait tcp://{{ MYSQL_HOST }}:{{ MYSQL_PORT }} -timeout 20s && ./manage.py cms migrate
|
dockerize -wait tcp://{{ MYSQL_HOST }}:{{ MYSQL_PORT }} -timeout 20s
|
||||||
|
|
||||||
|
export DJANGO_SETTINGS_MODULE=$SERVICE_VARIANT.envs.$SETTINGS
|
||||||
|
echo "Loading settings $DJANGO_SETTINGS_MODULE"
|
||||||
|
|
||||||
|
./manage.py cms migrate
|
||||||
|
|
||||||
# Fix incorrect uploaded file path
|
# Fix incorrect uploaded file path
|
||||||
if [ -d /openedx/data/uploads/ ]; then
|
if [ -d /openedx/data/uploads/ ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user