现在的位置: 首页 > 综合 > 正文

CentOS 6下编译Bootstrap 2.3.0

2012年10月17日 ⁄ 综合 ⁄ 共 570字 ⁄ 字号 评论关闭

从下面的地址下载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.html
https://github.com/twitter/bootstrap
http://twitter.github.com/bootstrap/extend.html#compiling

抱歉!评论已关闭.