Skip to content

Activation Emails(Production Stack)

echanna edited this page Oct 28, 2014 · 2 revisions

Allowing for SMTP in the EDX configuration is a part of completing the necessary steps for professional activation emails that student users and future staff will receive. By default the EDX application site name is set to ‘localhost’. This means that in activation emails your future student users will receive an activation URL with ‘localhost’ rather than the URL that is preferred and configured for your server. To provide the future user with a URL with a correct site name we will have to change three variables for our next update:

#Default Configuration EDXAPP_SITE_NAME: 'localhost'

EDXAPP_LMS_SITE_NAME: "{{ EDXAPP_SITE_NAME }}"

EDXAPP_CMS_SITE_NAME: 'localhost'

#Example Configuration EDXAPP_SITE_NAME: 'www.myedxapp.com'

EDXAPP_LMS_SITE_NAME: "www.myedxapp.com:80"

EDXAPP_CMS_SITE_NAME: 'www.myedxapp.com:18010'

Next add these three variables to /edx/app/edx_ansible/server-vars.yml. Once that is done sudo /edx/bin/update edx-platform release - to update your edx-platform using the forked repo with your new variables.

Clone this wiki locally