- SSH into the docker machine
docker exec -i -t [container] /bin/bash
- Update
/edx/app/edxapp/lms.env.json
with"ENABLE_THIRD_PARTY_AUTH": true
- Update
/edx/app/edxapp/lms.auth.json
with:"THIRD_PARTY_AUTH": { "Google": { "SOCIAL_AUTH_GOOGLE_OAUTH2_KEY": "...", "SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET": "..." } },
The keys have to be created in Google Developers Console. Go to
https://console.developers.google.com/project
, create a new project inside which create a new set of credentials. More details: https://stackoverflow.com/questions/18677244/error-invalid-client-no-application-name. - Run the equivalent of
paver update_db
:sudo -u edxapp /edx/app/edxapp/venvs/edxapp/bin/python ./manage.py cms syncdb --migrate --settings=docker
sudo -u edxapp /edx/app/edxapp/venvs/edxapp/bin/python ./manage.py lms syncdb --migrate --settings=docker
- Restart the site:
/edx/bin/supervisorctl restart all
Sources/references: