diff options
| author | Chris Rebert <[email protected]> | 2015-11-12 22:50:47 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-11-12 22:50:47 -0800 |
| commit | 02e851791629e4fdfbfda19f8a77bcedf009a7ec (patch) | |
| tree | fa81efed8c28d8a33902ae6962bb6a84cebb114f /docs/getting-started | |
| parent | 114a2d913ee7782ea45809fee21ddcefc09c4b3d (diff) | |
| parent | 4b1c2c3d92e1f1bdd330548c5a5c9a32f1cc7da8 (diff) | |
| download | bootstrap-02e851791629e4fdfbfda19f8a77bcedf009a7ec.tar.xz bootstrap-02e851791629e4fdfbfda19f8a77bcedf009a7ec.zip | |
Merge pull request #17505 from hkdobrev/v4-bundle-instructions
Recommend using bundle for running docs locally
[skip sauce]
Diffstat (limited to 'docs/getting-started')
| -rw-r--r-- | docs/getting-started/build-tools.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/getting-started/build-tools.md b/docs/getting-started/build-tools.md index adda6cbb1..9b84a125d 100644 --- a/docs/getting-started/build-tools.md +++ b/docs/getting-started/build-tools.md @@ -13,7 +13,8 @@ To use our Gruntfile and run our documentation locally, you'll need a copy of Bo 1. [Download and install Node](https://nodejs.org/download), which we use to manage our dependencies. 2. Install the Grunt command line tools, `grunt-cli`, with `npm install -g grunt-cli`. 3. Navigate to the root `/bootstrap` directory and run `npm install` to install our local dependencies listed in [package.json](https://github.com/twbs/bootstrap/blob/master/package.json). -4. [Install Ruby][install-ruby], install [Bundler][gembundler] with `gem install bundler`, and finally run `bundle`. This will install all Ruby dependencies, such as Jekyll and Sass linter. +4. [Install Ruby][install-ruby], install [Bundler][gembundler] with `gem install bundler`, and finally run `bundle install`. This will install all Ruby dependencies, such as Jekyll and plugins. + - **Windows users:** Read [this unofficial guide](http://jekyll-windows.juthilo.com/) to get Jekyll up and running without problems. When completed, you'll be able to run the various Grunt commands provided from the command line. @@ -50,9 +51,8 @@ For example, run `TWBS_SASS=sass grunt` to test and build Bootstrap with Ruby Sa Running our documentation locally requires the use of Jekyll, a decently flexible static site generator that provides us basic includes, Markdown-based files, templates, and more. Here's how to get it started: -1. Run through the [tooling setup](#tooling-setup) above to install Jekyll (the site builder) and Rouge (our syntax highlighter). - - **Windows users:** Read [this unofficial guide](http://jekyll-windows.juthilo.com/) to get Jekyll up and running without problems. -2. From the root `/bootstrap` directory, run `jekyll serve` in the command line. +1. Run through the [tooling setup](#tooling-setup) above to install Jekyll (the site builder) and other Ruby dependencies with `bundle install`. +2. From the root `/bootstrap` directory, run `bundle exec jekyll serve` in the command line. 3. Open <http://localhost:9001> in your browser, and voilĂ . Learn more about using Jekyll by reading its [documentation](http://jekyllrb.com/docs/home/). |
