add info in readme to remember install steps
This commit is contained in:
parent
e555a90ab7
commit
6598873ea3
10
README.md
10
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
|
||||
|
|
Loading…
Reference in New Issue