Skip to content
Snippets Groups Projects
Commit f58aedc3 authored by Adam Voss's avatar Adam Voss
Browse files

Updated README to consistently use bundle

parent 177df024
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ documentation https://docs.gitlab.com/ce/user/project/pages/. ...@@ -18,7 +18,7 @@ documentation https://docs.gitlab.com/ce/user/project/pages/.
- [Start by forking this repository](#start-by-forking-this-repository) - [Start by forking this repository](#start-by-forking-this-repository)
- [Start from a local Jekyll project](#start-from-a-local-jekyll-project) - [Start from a local Jekyll project](#start-from-a-local-jekyll-project)
- [GitLab CI](#gitlab-ci) - [GitLab CI](#gitlab-ci)
- [Building locally](#building-locally) - [Using Jekyll locally](#using-jekyll-locally)
- [GitLab User or Group Pages](#gitlab-user-or-group-pages) - [GitLab User or Group Pages](#gitlab-user-or-group-pages)
- [Did you fork this project?](#did-you-fork-this-project) - [Did you fork this project?](#did-you-fork-this-project)
- [Troubleshooting](#troubleshooting) - [Troubleshooting](#troubleshooting)
...@@ -61,8 +61,8 @@ variables: ...@@ -61,8 +61,8 @@ variables:
pages: pages:
script: script:
- gem install jekyll - bundle install
- jekyll build -d public - bundle exec jekyll build -d public
artifacts: artifacts:
paths: paths:
- public - public
...@@ -70,16 +70,18 @@ pages: ...@@ -70,16 +70,18 @@ pages:
- master - master
``` ```
## Building locally ## Using Jekyll locally
To work locally with this project, you'll have to follow the steps below: To work locally with this project, you'll have to follow the steps below:
1. Fork, clone or download this project 1. Fork, clone or download this project
1. [Install][] Jekyll 1. [Install][] Jekyll
1. Generate the website: `jekyll build -d public` 1. Download dependencies: `bundle`
1. Preview your project: `jekyll serve` 1. Build and preview: `bundle exec jekyll serve`
1. Add content 1. Add content
The above commands should be executed from the root directory of this project.
Read more at Jekyll's [documentation][]. Read more at Jekyll's [documentation][].
## GitLab User or Group Pages ## GitLab User or Group Pages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment