2020-06-15 10:41:34 +02:00

14 lines
574 B
Plaintext

# Modify users created an incorrect email and that might clash with the newly created users
./manage.py lms shell -c \
"from django.contrib.auth import get_user_model;\
get_user_model().objects.filter(username='notes').exclude(email='notes@openedx').update(email='notes@openedx')"
./manage.py lms manage_user notes notes@openedx --staff --superuser
./manage.py lms create_dot_application \
notes \
notes \
--redirect-uris "http://notes:8000" \
--skip-authorization \
--client-id notes \
--client-secret "{{ NOTES_OAUTH2_SECRET }}" \
--update