mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +03:00
Point to the docs instead of repeating everything
This commit is contained in:
parent
1e47efac8a
commit
bfe72d5276
|
@ -81,20 +81,6 @@ In production basic email configuration is setup to send emails with Mailgun_
|
||||||
|
|
||||||
**Live reloading and Sass CSS compilation**
|
**Live reloading and Sass CSS compilation**
|
||||||
|
|
||||||
If you'd like to take advantage of live reloading and Sass / Compass CSS compilation you can do so with the included Grunt task.
|
If you’d like to take advantage of live reloading and Sass / Compass CSS compilation you can do so with a little bit of `prep work`_.
|
||||||
|
|
||||||
Make sure that nodejs_ is installed. Then in the project root run::
|
.. _prep work: https://cookiecutter-django.readthedocs.io/en/latest/live-reloading-and-sass-compilation.html
|
||||||
|
|
||||||
$ npm install
|
|
||||||
|
|
||||||
.. _nodejs: http://nodejs.org/download/
|
|
||||||
|
|
||||||
Now you just need::
|
|
||||||
|
|
||||||
$ grunt serve
|
|
||||||
|
|
||||||
The base app will now run as it would with the usual ``manage.py runserver`` but with live reloading and Sass compilation enabled.
|
|
||||||
|
|
||||||
To get live reloading to work you'll probably need to install an `appropriate browser extension`_
|
|
||||||
|
|
||||||
.. _appropriate browser extension: http://feedback.livereload.com/knowledgebase/articles/86242-how-do-i-install-and-use-the-browser-extensions-
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user