From f58aedc31d79e588c3c6bc1c2019ae26638bf41c Mon Sep 17 00:00:00 2001 From: Adam Voss Date: Fri, 10 Mar 2017 14:18:45 -0600 Subject: [PATCH] Updated README to consistently use bundle --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 657b5a4..58b9440 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ documentation https://docs.gitlab.com/ce/user/project/pages/. - [Start by forking this repository](#start-by-forking-this-repository) - [Start from a local Jekyll project](#start-from-a-local-jekyll-project) - [GitLab CI](#gitlab-ci) -- [Building locally](#building-locally) +- [Using Jekyll locally](#using-jekyll-locally) - [GitLab User or Group Pages](#gitlab-user-or-group-pages) - [Did you fork this project?](#did-you-fork-this-project) - [Troubleshooting](#troubleshooting) @@ -61,8 +61,8 @@ variables: pages: script: - - gem install jekyll - - jekyll build -d public + - bundle install + - bundle exec jekyll build -d public artifacts: paths: - public @@ -70,16 +70,18 @@ pages: - master ``` -## Building locally +## Using Jekyll locally To work locally with this project, you'll have to follow the steps below: 1. Fork, clone or download this project 1. [Install][] Jekyll -1. Generate the website: `jekyll build -d public` -1. Preview your project: `jekyll serve` +1. Download dependencies: `bundle` +1. Build and preview: `bundle exec jekyll serve` 1. Add content +The above commands should be executed from the root directory of this project. + Read more at Jekyll's [documentation][]. ## GitLab User or Group Pages