CentOS 6下编译Bootstrap 2.3.0

来源:互联网 发布:淘宝家具店 编辑:程序博客网 时间:2024/05/22 06:46

从下面的地址下载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


<script type="text/javascript"><!--google_ad_client = "ca-pub-1944176156128447";/* cnblogs 首页横幅 */google_ad_slot = "5419468456";google_ad_width = 728;google_ad_height = 90;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
原创粉丝点击