Updated and corrected the description in the README file of of how the contents of the bootstrap/dist/ directory end up in the right place for static serving.

- Legacy-Id: 10576
This commit is contained in:
Henrik Levkowetz 2015-12-11 11:25:15 +00:00
parent 8d56f46209
commit fea8ef1d34

View file

@ -61,9 +61,15 @@ Available Grunt commands
grunt dist # (Just compile CSS and JavaScript) grunt dist # (Just compile CSS and JavaScript)
Regenerates the ``dist/`` directory with compiled and minified CSS and JavaScript Regenerates the ``dist/`` directory with compiled and minified CSS and JavaScript
files. As a Bootstrap user, this is normally the command you want. Changes to files. As a Bootstrap user, this is normally the command you want. Changes in the
the ``dist/`` directory will be picked up by ``manage.py collectstatic`` as part ``dist/`` directory which are committed to the svn repository will be replicated in
of ``bin/mkrelease``. the ``ietf/static/ietf/bootstrap`` directory through and svn:externals declaration.
During development, you'll need to manually rsync newly generated files in place
after doing ``grunt dist``: ``rsync -a dist/ ../ietf/static/ietf/bootstrap/``)
During deployment, they will be picked up by ``manage.py collectstatic`` and placed
in the production environment's static directory.
:: ::