diff --git a/docs/developing-locally-docker.rst b/docs/developing-locally-docker.rst index 7a11c7a4..4c9ccac8 100644 --- a/docs/developing-locally-docker.rst +++ b/docs/developing-locally-docker.rst @@ -183,4 +183,12 @@ You may need to add the following to your css in order for the django-debug-tool } +Setup your email backend +~~~~~~~~~~~~~~~~~~~~~~~~ +In development you can (optionally) use MailHog_ for email testing. MailHog is added as docker-container. To use MailHog: + +1. Make sure, that ``mailhog`` docker container is up and running +2. Open your browser and go to ``http://127.0.0.1:8025`` + +.. _Mailhog: https://github.com/mailhog/MailHog/ diff --git a/docs/developing-locally.rst b/docs/developing-locally.rst index 196d03bf..6c84ca3c 100644 --- a/docs/developing-locally.rst +++ b/docs/developing-locally.rst @@ -52,15 +52,6 @@ django-allauth sends an email to verify users (and superusers) after signup and .. _configure your email backend: http://docs.djangoproject.com/en/1.9/topics/email/#smtp-backend -{% if cookiecutter.use_docker == 'y' %} -In development you can (optionally) use MailHog_ for email testing. MailHog is added as docker-container. To use MailHog: - -1. Make sure, that ``mailhog`` docker container is up and running -2. Open your browser and go to ``http://127.0.0.1:8025`` - -.. _Mailhog: https://github.com/mailhog/MailHog/ - -{% else %} In development you can (optionally) use MailHog_ for email testing. MailHog is built with Go so there are no dependencies. To use MailHog: 1. `Download the latest release`_ for your operating system @@ -72,7 +63,6 @@ In development you can (optionally) use MailHog_ for email testing. MailHog is b .. _Mailhog: https://github.com/mailhog/MailHog/ .. _Download the latest release: https://github.com/mailhog/MailHog/releases -{% endif %} Alternatively simply output emails to the console via: ``EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'`` In production basic email configuration is setup to send emails with Mailgun_