mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-10 08:30:50 +03:00
Cleanup outdated references to Grunt - fixes #1721
This commit is contained in:
parent
cf8287e576
commit
ebcd5ec098
|
@ -45,7 +45,7 @@ Features
|
||||||
* Optimized development and production settings
|
* Optimized development and production settings
|
||||||
* Registration via django-allauth_
|
* Registration via django-allauth_
|
||||||
* Comes with custom user model ready to go
|
* Comes with custom user model ready to go
|
||||||
* Grunt build for compass and livereload
|
* Optional custom static build using Gulp and livereload
|
||||||
* Send emails via Anymail_ (using Mailgun_ by default, but switchable)
|
* Send emails via Anymail_ (using Mailgun_ by default, but switchable)
|
||||||
* Media storage using Amazon S3
|
* Media storage using Amazon S3
|
||||||
* Docker support using docker-compose_ for development and production (using Caddy_ with LetsEncrypt_ support)
|
* Docker support using docker-compose_ for development and production (using Caddy_ with LetsEncrypt_ support)
|
||||||
|
@ -178,10 +178,9 @@ Answer the prompts with your own desired options_. For example::
|
||||||
7 - 9.3
|
7 - 9.3
|
||||||
Choose from 1, 2, 3, 4 [1]: 1
|
Choose from 1, 2, 3, 4 [1]: 1
|
||||||
Select js_task_runner:
|
Select js_task_runner:
|
||||||
1 - Gulp
|
1 - None
|
||||||
2 - Grunt
|
2 - Gulp
|
||||||
3 - None
|
Choose from 1, 2 [1]: 1
|
||||||
Choose from 1, 2, 3, 4 [1]: 1
|
|
||||||
custom_bootstrap_compilation [n]: n
|
custom_bootstrap_compilation [n]: n
|
||||||
Select open_source_license:
|
Select open_source_license:
|
||||||
1 - MIT
|
1 - MIT
|
||||||
|
|
|
@ -69,7 +69,7 @@ For instance, one of the packages we depend upon, ``django-allauth`` sends verif
|
||||||
|
|
||||||
Now you have your own mail server running locally, ready to receive whatever you send it.
|
Now you have your own mail server running locally, ready to receive whatever you send it.
|
||||||
|
|
||||||
.. _MailHog: https://github.com/mailhog/MailHog/
|
.. _`Download the latest MailHog release`: https://github.com/mailhog/MailHog/releases
|
||||||
.. _`properly configured`: https://docs.djangoproject.com/en/dev/topics/email/#smtp-backend
|
.. _`properly configured`: https://docs.djangoproject.com/en/dev/topics/email/#smtp-backend
|
||||||
|
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ Sass Compilation & Live Reloading
|
||||||
|
|
||||||
If you’d like to take advantage of live reloading and Sass / Compass CSS compilation you can do so with a little bit of preparation_.
|
If you’d like to take advantage of live reloading and Sass / Compass CSS compilation you can do so with a little bit of preparation_.
|
||||||
|
|
||||||
.. _`Download the latest MailHog release`: https://github.com/mailhog/MailHog/releases
|
|
||||||
.. _preparation: https://cookiecutter-django.readthedocs.io/en/latest/live-reloading-and-sass-compilation.html
|
.. _preparation: https://cookiecutter-django.readthedocs.io/en/latest/live-reloading-and-sass-compilation.html
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -95,16 +95,25 @@ With MailHog running, to view messages that are sent by your application, open y
|
||||||
{% else %}
|
{% else %}
|
||||||
In development, it is often nice to be able to see emails that are being sent from your application. If you choose to use `MailHog`_ when generating the project a local SMTP server with a web interface will be available.
|
In development, it is often nice to be able to see emails that are being sent from your application. If you choose to use `MailHog`_ when generating the project a local SMTP server with a web interface will be available.
|
||||||
|
|
||||||
To start the service, make sure you have nodejs installed, and then type the following::
|
#. `Download the latest MailHog release`_ for your OS.
|
||||||
|
|
||||||
$ npm install
|
#. Rename the build to ``MailHog``.
|
||||||
$ grunt serve
|
|
||||||
|
|
||||||
(After the first run you only need to type ``grunt serve``) This will start an email server that listens on ``127.0.0.1:1025`` in addition to starting your Django project and a watch task for live reload.
|
#. Copy the file to the project root.
|
||||||
|
|
||||||
To view messages that are sent by your application, open your browser and go to ``http://127.0.0.1:8025``
|
#. Make it executable: ::
|
||||||
|
|
||||||
The email server will exit when you exit the Grunt task on the CLI with Ctrl+C.
|
$ chmod +x MailHog
|
||||||
|
|
||||||
|
#. Spin up another terminal window and start it there: ::
|
||||||
|
|
||||||
|
./MailHog
|
||||||
|
|
||||||
|
#. Check out `<http://127.0.0.1:8025/>`_ to see how it goes.
|
||||||
|
|
||||||
|
Now you have your own mail server running locally, ready to receive whatever you send it.
|
||||||
|
|
||||||
|
.. _`Download the latest MailHog release`: https://github.com/mailhog/MailHog/releases
|
||||||
{% endif %}
|
{% endif %}
|
||||||
.. _mailhog: https://github.com/mailhog/MailHog
|
.. _mailhog: https://github.com/mailhog/MailHog
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user