Régis Behmo 28b805eb28 🌅
2019-07-11 13:44:16 +08:00

12 lines
555 B
Plaintext

./manage.py lms --settings=tutor.production manage_user discovery discovery@{{ LMS_HOST }} --staff --superuser
./manage.py lms --settings=tutor.production create_oauth2_client \
"{% if ACTIVATE_HTTPS %}https{% else %}http{% endif %}://{{ DISCOVERY_HOST }}" \
"{% if ACTIVATE_HTTPS %}https{% else %}http{% endif %}://{{ DISCOVERY_HOST }}/complete/edx-oidc/" \
confidential \
--client_name discovery \
--client_id {{ DISCOVERY_OAUTH2_KEY }} \
--client_secret {{ DISCOVERY_OAUTH2_SECRET }} \
--username discovery \
--trusted