mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-26 22:48:25 +00:00
Fix incorrect settings during lms/cms init
During init, the DJANGO_SETTINGS_MODULE environment variable was undefined, as the entrypoint is overridden. Close #224.
This commit is contained in:
parent
8b6271a5cc
commit
dda3614af5
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
Note: Breaking changes between versions are indicated by "💥".
|
Note: Breaking changes between versions are indicated by "💥".
|
||||||
|
|
||||||
|
## Latest
|
||||||
|
|
||||||
|
- [Bugfix] Fix incorrect settings during lms/cms init (#224)
|
||||||
|
|
||||||
## 3.4.1 (2019-06-23)
|
## 3.4.1 (2019-06-23)
|
||||||
|
|
||||||
- [Bugfix] Fix install from pypi
|
- [Bugfix] Fix install from pypi
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
dockerize -wait tcp://{{ MYSQL_HOST }}:{{ MYSQL_PORT }} -timeout 20s
|
dockerize -wait tcp://{{ MYSQL_HOST }}:{{ MYSQL_PORT }} -timeout 20s
|
||||||
./manage.py lms migrate
|
./manage.py lms --settings=tutor.production migrate
|
||||||
|
|
||||||
./manage.py lms create_oauth2_client \
|
./manage.py lms --settings=tutor.production create_oauth2_client \
|
||||||
"http://androidapp.com" "http://androidapp.com/redirect" public \
|
"http://androidapp.com" "http://androidapp.com/redirect" public \
|
||||||
--client_id android --client_secret {{ ANDROID_OAUTH2_SECRET }} \
|
--client_id android --client_secret {{ ANDROID_OAUTH2_SECRET }} \
|
||||||
--trusted
|
--trusted
|
||||||
|
|
||||||
{% if ACTIVATE_NOTES %}
|
{% if ACTIVATE_NOTES %}
|
||||||
./manage.py lms manage_user notes notes@{{ LMS_HOST }} --staff --superuser
|
./manage.py lms --settings=tutor.production manage_user notes notes@{{ LMS_HOST }} --staff --superuser
|
||||||
./manage.py lms create_oauth2_client \
|
./manage.py lms --settings=tutor.production create_oauth2_client \
|
||||||
"http://notes.openedx:8000" "http://notes.openedx:8000/complete/edx-oidc/" confidential \
|
"http://notes.openedx:8000" "http://notes.openedx:8000/complete/edx-oidc/" confidential \
|
||||||
--client_name edx-notes --client_id notes --client_secret {{ NOTES_OAUTH2_SECRET }} \
|
--client_name edx-notes --client_id notes --client_secret {{ NOTES_OAUTH2_SECRET }} \
|
||||||
--trusted --logout_uri "http://notes.openedx:8000/logout/" --username notes
|
--trusted --logout_uri "http://notes.openedx:8000/logout/" --username notes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user