CentOS 6下编译Bootstrap 2.3.0

从下面的地址下载Bootstrap 2.3.0的源代码:

https://github.com/twitter/bootstrap/tags

从下面的地址下载最新版本的node.js:

http://nodejs.org/download/

编译安装node.js

tar zxvf node-v0.8.20.tar.gz

cd node-v0.8.20

./configure

make && make install

解压Bootstrap 2.3.0源码压缩包:

tar zxvf bootstrap-2.3.0.tar.gz

进入Bootstrap解压后端文件夹:

cd bootstrap-2.3.0

安装编译Bootstrap所需要的node模块:

npm install recess connect uglify-js@1 jshint

完成上述操作后,就可以自己根据实际需求,通过make命令来编译Bootstrap了。

http://twitter.github.com/bootstrap/

http://twitter.github.com/bootstrap/customize.htmlhttps://github.com/twitter/bootstraphttp://twitter.github.com/bootstrap/extend.html#compiling