Closed Bug 754788 Opened 12 years ago Closed 12 years ago

Provide lessc in Reps servers.

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: giorgos, Assigned: jd)

References

Details

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!
Blocks: 754920
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
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!
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
Closed: 12 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.