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)
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.
Updated•13 years ago
|
Component: Server Operations → Server Operations: Web Operations
QA Contact: phong → cshields
Updated•13 years ago
|
Assignee: server-ops → nmaul
Reporter | ||
Comment 1•13 years ago
|
||
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.
Comment 2•13 years ago
|
||
Just chiming in here to note that this is a dependency for the MWC conference in a few days.
Reporter | ||
Updated•13 years ago
|
Severity: normal → blocker
Priority: -- → P1
Reporter | ||
Comment 3•13 years ago
|
||
Sorry for the blocker! QA needs to qa it tomorrow and it will be pushed right after this.
Assignee | ||
Comment 4•13 years ago
|
||
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
Reporter | ||
Comment 5•13 years ago
|
||
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 → ---
Reporter | ||
Comment 6•13 years ago
|
||
Dang bugzilla
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•