Closed Bug 729120 Opened 13 years ago Closed 13 years ago

Install node/lessc on bedrock dev server, or fix config value

Categories

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

x86
macOS

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlong, Assigned: nmaul)

Details

Ideally, we should install node and the LESS CSS compiler on the bedrock dev site. That way we don't have to generate the css every time we push to the dev site. Is this possible? Is it already installed? If so, please add the following settings to the dev's local settings: LESS_PREPROCESS = True LESS_BIN = '/path/to/lessc' The bin path should be the right path to lessc. If it's not installed and we can't do that right now, please make sure that "LESS_PREPROCESS = False" in the settings. The dev server seems to be trying to run LESS and is erroring.
Component: Server Operations → Server Operations: Web Operations
QA Contact: phong → cshields
Assignee: server-ops → nmaul
We need to fix the dev site today, and I don't mind if we just turn off the LESS_PREPROCESS setting so that we can just run compress_assets ourselves to commit the CSS. We can do that if it will take a while to install node.
Just chiming in here to note that this is a dependency for the MWC conference in a few days.
Severity: normal → blocker
Priority: -- → P1
Sorry for the blocker! QA needs to qa it tomorrow and it will be pushed right after this.
Looks like we already have this packaged. I've added it to puppet for the bedrock admin node, and it should be installed momentarily (the emails will stop when it's in place).
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
It's working now, thanks! A curious is thing is that I tried to run `./manage.py compress_assets` locally and I hit a weird bug in YUICompressor. If that's working on the bedrock sites, I guess it's using Uglify? (UGLIFY_BIN would be set)
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: FIXED → ---
Dang bugzilla
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago13 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.