(Update) Dependencies: Add bundler and Gemfile (#5)

* (Update) Dependencies: Add bundler and Gemfile to handle ruby dependencies

* (Update) Dependencies: Move  jekyll-multiple-languages-plugin into Gemfile instead of using a git submodule

* (Doc) README: Adjust note about jekyll-multiple-language-plugin
This commit is contained in:
0xfff 2016-09-09 18:41:03 +02:00 committed by Perry Woodin
parent aaef5715db
commit 3a0a543859
6 changed files with 78 additions and 12 deletions

View file

@ -7,19 +7,16 @@ https://jekyllrb.com
### Requirements (mac)
* Ruby: `brew install ruby`
* Ruby Gems: https://rubygems.org/pages/download
* NoddeJS: https://nodejs.org/en/
* NodeJS: https://nodejs.org/en/
* Python: `brew install python`
* `gem install jekyll`
* Bundler: `gem install bundler`
### Supporting Gems
These Gems must also be installed on the CI server.
* `gem install jekyll-paginate`
* `gem install classifier-reborn`
* `gem install jekyll-autoprefixer`
Simply run `bundle install` and [bundler](http://bundler.io/) will install all ruby gems/dependencies.
Note: The Gems must also be installed on the CI server.
### Plugins
* `jekyll-multiple-languages-plugin` installed as a git submodule in `_plugins/`. Documentation at https://github.com/perrywoodin/jekyll-multiple-languages-plugin. This is a modified fork that adds two new tags for outputting markdown `{% tmd key %}` or `{% translatemd key %}`
* `jekyll-multiple-languages-plugin` installed as a gem. Documentation at https://github.com/perrywoodin/jekyll-multiple-languages-plugin. This is a modified fork that adds two new tags for outputting markdown `{% tmd key %}` or `{% translatemd key %}`
## Development
`jekyll serve` Will build to the _site directory whenever a file is changed and serve via 127.0.0.1