Although there is little to no networking now, it is also necessary to build a bootstrap offline document on this computer for a rainy days.
Needless to say, if you have the same idea, you can do this by referring to the following steps:
If you have not installed Nodejs and Ruby, please download the installation before starting the following steps.
Go to bootstrap official website download source code.
After downloading, extract to any location, such as D:\.
From terminal into the source directory, enter the command:
npm install
Then enter the following command from terminal to install one of Ruby's Gem:bundler (official website: http://bundler.io)
gem install bundler
If you're like me. When you encounter an SSL error while installing bundler, run the following command before reinstalling Bundler:
gem sources --remove https://rubygems.org/
gem sources --add http://rubygems.org/
If you have encountered an SSL error while installing bundler, you will need to make additional changes to the following steps: Open the Gemfile file in the source root directory, change the first line of https: to HTTP, and then save the shutdown.
Modify Gemfile
From terminal into the source directory, enter the command:
bundler install
At this point, the Bootstrap offline document installation configuration has been completed, in the future when you want to view the document, from terminal into the source directory, enter the command:
Bundler exec Jekyll serve
Open the Web page http://localhost:9001 to view the offline document.
The above is a small series to introduce the construction of bootstrap off-line document method, hope to help everyone, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!