mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Minor alterations and clarifications to @fsboehme's fantastic addition.
This commit is contained in:
parent
9706fda4e3
commit
24dd3be36a
1 changed files with 26 additions and 11 deletions
|
|
@ -2,21 +2,36 @@
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
You can either install from pip::
|
1. You can either install from pip::
|
||||||
|
|
||||||
pip install django-mailbox
|
pip install django-mailbox
|
||||||
|
|
||||||
|
*or* checkout and install the source from the `github repository <https://github.com/coddingtonbear/django-mailbox/>`_::
|
||||||
|
|
||||||
|
git clone https://github.com/coddingtonbear/django-mailbox.git
|
||||||
|
cd django-mailbox
|
||||||
|
python setup.py install
|
||||||
|
|
||||||
*or* checkout and install the source from the `github repository <https://github.com/coddingtonbear/django-mailbox/>`_::
|
2. After you have installed the package,
|
||||||
|
add ``django_mailbox`` to the ``INSTALLED_APPS`` setting in
|
||||||
|
your project's ``settings.py`` file.
|
||||||
|
|
||||||
git clone https://github.com/coddingtonbear/django-mailbox.git
|
3. From your project folder, run ``python manage.py migrate django_mailbox`` to
|
||||||
cd django-mailbox
|
create the required database tables.
|
||||||
python setup.py install
|
|
||||||
|
|
||||||
After you have installed the package,
|
4. Head to your project's Django Admin and create a mailbox to consume.
|
||||||
you should add ``django_mailbox`` to the ``INSTALLED_APPS`` setting in your project's ``settings.py`` file.
|
|
||||||
|
|
||||||
Run ``python manage.py migrate django_mailbox`` to create the required database tables.
|
|
||||||
|
|
||||||
Head to your admin and create a mailbox to consume (see next docs page).
|
.. note::
|
||||||
|
|
||||||
|
Once you have entered a mailbox to consume, you can easily verify that you
|
||||||
|
have properly configured your mailbox by either:
|
||||||
|
|
||||||
|
* From the Django Admin, using the 'Get New Mail' action from the action
|
||||||
|
dropdown on the Mailbox changelist
|
||||||
|
(http://yourproject.com/admin/django_mailbox/mailbox/).
|
||||||
|
* *Or* from a shell opened to your project's directory, using the
|
||||||
|
``getmail`` management command by running::
|
||||||
|
|
||||||
|
python manage.py getmail
|
||||||
|
|
||||||
Test your setup by selecting 'Get new mail' from the action dropdown in the Mailbox change list.
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue