Created
July 17, 2013 21:26
-
-
Save beigna/6024651 to your computer and use it in GitHub Desktop.
Node, NPM and lessc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copiado de http://stackoverflow.com/questions/8986709/how-to-install-lessc-and-nodejs-in-a-python-virtualenv | |
Here is what I used so far, but it may be optimized I think. | |
Install nodejs | |
wget http://nodejs.org/dist/v0.6.8/node-v0.6.8.tar.gz | |
tar zxf node-v0.6.8.tar.gz | |
cd node-v0.6.8/ | |
./configure --prefix=/absolute/path/to/the/virtualenv/ | |
make | |
make install | |
Install npm (Node Package Manager) | |
/absolute/path/to/the/virtualenv/bin/activate | |
curl https://npmjs.org/install.sh | sh | |
Install lesscss | |
npm install less -g | |
When you activate your virtualenv you can use lessc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment