從下面的地址下載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