Skip to content

Commit f02cfdd

Browse files
authored
Merge pull request #37 from dirkolbrich/gemfile
add Gemfile for local build
2 parents f7abe19 + e498e96 commit f02cfdd

File tree

4 files changed

+23
-74
lines changed

4 files changed

+23
-74
lines changed

.gitignore

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
_site
2-
.sass-cache
3-
.jekyll-cache
1+
Gemfile.lock
2+
3+
# Ignore metadata generated by Jekyll
4+
_site/
5+
.sass-cache/
6+
.jekyll-cache/
47
.jekyll-metadata
5-
vendor
8+
9+
# Ignore folders generated by Bundler
10+
.bundle/
11+
vendor/

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins
3+
gem "webrick", "~> 1.8"

Gemfile.lock

Lines changed: 0 additions & 70 deletions
This file was deleted.

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,13 @@
22

33
This is the repo for the [Developers Handbook](https://freecad.github.io/DevelopersHandbook/)
44

5+
## Install an run locally
6+
7+
Make sure the dependencies `Ruby`, `Jekyll` and `Bundler` are installed on your system. See the [Jekyll installation guidelines](https://jekyllrb.com/docs/installation/) as well as the [Ruby 101 notes](https://jekyllrb.com/docs/ruby-101/) on how to setup your system.
8+
9+
Clone this repo locally, run the `Bundler` installation and serve the site at `http://127.0.0.1:4000`:
10+
11+
```bash
12+
bundle install
13+
bundle exec jekyll serve
14+
```

0 commit comments

Comments
 (0)