Apr 212015
 


Install node.js https://nodejs.org/ this will also install the node package manager, npm.


❯ npm update  
❯ npm upgrade  
❯ npm install bootstrap  
❯ npm install jquery
❯ npm install -g grunt-cli
❯ npm install bower

all installed to

/usr/local/lib/node_modules/npm

which is maybe not wehere we want bootstrap for a project particular project. Think we need to install on per-project basis:


❯ cd ~
❯ mkdir code/bootstrap
❯ cd code/bootstrap
❯ bower install bootstrap
❯ cd ~/code/bootstrap/bower_components/bootstrap  
❯ npm install
❯ grunt dist

The bootstrap project working files are now in:

~/code/bootstrap/bower_components/bootstrap/dist


❯ ls
total 16
-rw-r--r--@ 1 yearlus  502   6.0K Apr 13 06:19 .DS_Store
drwxr-xr-x  8 yearlus  502   272B Apr 13 06:16 css
drwxr-xr-x  7 yearlus  502   238B Apr 13 06:16 fonts
drwxr-xr-x  5 yearlus  502   170B Apr 13 06:16 js





 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Social Widgets powered by AB-WebLog.com.