Uncategorized

Compile Boostrap from sources in Ubuntu 14.04

Unfortunately, Ubuntu software repos are not up to date with Nodejs.

You shall use Chris Lea’s Repo

sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update

Then, install nodejs:

sudo apt-get install nodejs

Then it’s time for grunt to be installed (that’s  just plain Bootstrap’s tutorial from now on):

sudo npm install -g grunt-cli

Get into your bootstrap directory and run

npm install
npm update

You’re good to go, just run

grunt watch

Also, if you want sourcemaps, see this SO answer.

Standard