Merge pull request #5428 from ashmaroli/bundle2new

Merge pull request 5428
This commit is contained in:
jekyllbot 2016-09-29 10:04:47 -07:00 committed by GitHub
commit 3d3f310a5e
2 changed files with 2 additions and 6 deletions

View File

@ -10,11 +10,12 @@ For the impatient, here's how to get a boilerplate Jekyll site up and running.
~ $ gem install jekyll bundler
~ $ jekyll new myblog
~ $ cd myblog
~/myblog $ bundle install
~/myblog $ bundle exec jekyll serve
# => Now browse to http://localhost:4000
```
The `jekyll new` command now automatically initiates `bundle install` and installs the dependencies required. To skip this, pass `--skip-bundle` option like so `jekyll new myblog --skip-bundle`.
If you wish to install jekyll into an existing directory, you can do so by running `jekyll new .` from within the directory instead of creating a new one. If the existing directory isn't empty, you'll also have to pass the `--force` option like so `jekyll new . --force`.
That's nothing, though. The real magic happens when you start creating blog

View File

@ -57,11 +57,6 @@ overview: true
<span class="prompt">$</span>
<span class="command">cd my-awesome-site</span>
</p>
<p class="line">
<span class="path">~/my-awesome-site</span>
<span class="prompt">$</span>
<span class="command">bundle install</span>
</p>
<p class="line">
<span class="path">~/my-awesome-site</span>
<span class="prompt">$</span>