Install node
$ cd
$ git clone git://github.com/ry/node.git
$ cd node
$ ls
android-configure ChangeLog deps Makefile test
AUTHORS common.gypi doc node.gyp tools
benchmark configure lib README.md vcbuild.bat
BSDmakefile CONTRIBUTING.md LICENSE src
$ ./configure
{ ‘target_defaults’: { ‘cflags’: [],
‘default_configuration’: ‘Release’,
‘defines’: [‘OPENSSL_NO_SSL2=1’],
‘include_dirs’: [],
‘libraries’: []},
‘variables’: { ‘clang’: 0,
‘gcc_version’: 47,
‘host_arch’: ‘ia32’,
‘node_install_npm’: ‘true’,
‘node_prefix’: ”,
‘node_shared_cares’: ‘false’,
‘node_shared_http_parser’: ‘false’,
‘node_shared_libuv’: ‘false’,
‘node_shared_openssl’: ‘false’,
‘node_shared_v8’: ‘false’,
‘node_shared_zlib’: ‘false’,
‘node_tag’: ”,
‘node_use_dtrace’: ‘false’,
‘node_use_etw’: ‘false’,
‘node_use_mdb’: ‘false’,
‘node_use_openssl’: ‘true’,
‘node_use_perfctr’: ‘false’,
‘python’: ‘/usr/bin/python’,
‘target_arch’: ‘ia32’,
‘uv_parent_path’: ‘/deps/uv/’,
‘uv_use_dtrace’: ‘false’,
‘v8_enable_gdbjit’: 0,
‘v8_enable_i18n_support’: 0,
‘v8_no_strict_aliasing’: 1,
‘v8_optimized_debug’: 0,
‘v8_random_seed’: 0,
‘v8_use_snapshot’: ‘true’}}
creating ./config.gypi
creating ./config.mk
$ sudo make install
check version
$ npm -v
1.3.14
Install Bower
$ sudo npm install -g bower
Install Bootstrap
$ bower install bootstrap
Check ruby and install Jekyll
$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-linux]
$ sudo gem install rdoc
$ sudo gem install jekyll
Successfully installed jekyll-1.3.0
1 gem installed
Installing ri documentation for jekyll-1.3.0…
Installing RDoc documentation for jekyll-1.3.0…
Generate Bootstrap Documentation
$cd bower_components/bootstrap
$jekyll serve
Configuration file: /home/alamsyah/bower_components/bootstrap/_config.yml
Source: /home/alamsyah/bower_components/bootstrap
Destination: ./_gh_pages
Generating… done.
Server address: http://0.0.0.0:9001
Server running… press ctrl-c to stop
Open browser and type : lcoalhost:9001
Voila. I got offline version of Bootstrap documentation.
Picture : Bootstrap CSS Framework Purple T-Shirt by adamcoulombe187