Provide lessc in Reps servers.

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: giorgos, Assigned: jd)

Tracking

Details

(Reporter)

Description

6 years ago
Hello IT,

We moved our css stylesheets to lesscss.org. We need the 'lessc' compiler to compile the less stylesheets to css stylesheets. 

You can get the lessc from using the npm package manager

npm install less

or from the official repo

https://github.com/cloudhead/less.js/



After installing please append to local.py the following line

LESS_BIN = '/path/to/lessc' # Probably just 'lessc'


Thanks!

Updated

6 years ago
Blocks: 754920
(Assignee)

Comment 1

6 years ago
Giorgos,

Is this something you just need on the admin node, AKA something that is compiled on update only.  Or something you need on all the web nodes, AKA something that is generated on page load?
Status: NEW → ASSIGNED
(Reporter)

Comment 2

6 years ago
This is something used by jingo-minify (i.e. ./manage.py compress_assets). I would guess that this admin node only but in any case it's where compress_assets command is called.

Thanks!
(Assignee)

Comment 3

6 years ago
Giorgos,

I added this on the admin server and updated the local.py for dev, stage and prod with the LESS_BIN setting.  Let me know if this does not work as expected.

Regards
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.