diff --git a/README.md b/README.md index 8c663cd..9e85d5f 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,16 @@ INSTALLATION All styles are written using LESS syntax. Thus it needs to be compiled using the `lessc` (>= 2.5.2) command line tool. This comes with the `nodejs-less` RPM package or using `npm install less` which depend on nodejs. + +Here is how you can install those on Debian: +``` +curl -sL https://deb.nodesource.com/setup_16.x | sudo bash - +apt-get install -y nodejs +npm install -g less +npm install -g less-plugin-clean-css +``` +Then, go to the `styles` folder, and when you're done editing your files, do the following, as needed: + ``` $ lessc --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css $ lessc --clean-css="--s1 --advanced" styles/print.less > styles/print.min.css