Commit 3d6555ac authored by Aurélien Bompard's avatar Aurélien Bompard

Update documentation to switch from LESS to Sass

Fixes #8
parent 364f13ec
......@@ -84,18 +84,30 @@ In the ``mailman-bundler`` directory, install and run buildout::
pip install zc.buildout
buildout
You will also need to install the `LESS CSS compiler`_. It is usually packaged
by your distribution, on Fedora the package is named ``nodejs-less``, so you
can install it with::
You will also need to install the `Sass`_ CSS processor using your package
manager or the project's installation documentation. You can either use the
default Ruby implementation or the C/C++ version, called `libsass`_ (the binary
is ``sassc``). The configuration files in ``mailman_web``
default to the ``sassc`` version, but you just have to edit the
``COMPRESS_PRECOMPILERS`` mapping to switch to the Ruby implementation, whoose
binary is called ``sass``.
sudo yum install nodejs-less
Those tools are usually packaged by your distribution. On Fedora the Ruby
package is named ``rubygem-sass``, so you can install it with::
On Debian and Ubuntu, this is available in the ``node-less`` package, which
you can install with::
sudo yum install rubygem-sass
sudo apt-get install node-less
On Debian and Ubuntu, the Ruby pacakge is available in the ``ruby-sass``
package, which you can install with::
sudo apt-get install ruby-sass
There is no package of libsass or sassc on either distribution today, but it is
being worked on.
.. _Sass: http://sass-lang.com
.. _libsass: http://sass-lang.com/libsass
.. _`LESS CSS compiler`: http://lesscss.org/
Now initialize Django's database::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment