mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-03 19:08:15 +03:00
Added a comment on how to use mailhog
As somebody new to mailhog, I was a confused on how to use it. I first assumed, it was going to be used by the django app itself. After reading more on the internet I found it needed to be executed outside of the django application.
This commit is contained in:
parent
bd9e437717
commit
8cbe97bb9f
|
@ -47,6 +47,8 @@ In development you can (optionally) use MailHog_ for email testing. MailHog is b
|
|||
1. `Download the latest release`_ for your operating system
|
||||
2. Rename the executable to ``mailhog`` and copy it to the root of your project directory
|
||||
3. Make sure it is executable (e.g. ``chmod +x mailhog``)
|
||||
4. Execute mailhog from the root of your project in a new terminal window (e.g. ``./mailhog``)
|
||||
5. All emails generated from your django app can be seen on http://127.0.0.1:8025/
|
||||
|
||||
.. _Mailhog: https://github.com/mailhog/MailHog/
|
||||
.. _Download the latest release: https://github.com/mailhog/MailHog/releases
|
||||
|
|
Loading…
Reference in New Issue
Block a user