Blog posts by release management both automated and human
Перейти к файлу
Pascal Chevrel f34cd0391f
Code Coverage blog post by Marco (#51)
2018-03-23 12:19:42 +01:00
_layouts Code Coverage blog post by Marco (#51) 2018-03-23 12:19:42 +01:00
_posts Code Coverage blog post by Marco (#51) 2018-03-23 12:19:42 +01:00
images Code Coverage blog post by Marco (#51) 2018-03-23 12:19:42 +01:00
scripts make sure that the script updates the repo 2015-06-12 14:06:13 +02:00
stylesheets Issue #5: Add a pagination system to our template + fixes (#39) 2018-01-15 18:41:17 +01:00
themes Code Coverage blog post by Marco (#51) 2018-03-23 12:19:42 +01:00
.gitignore Update Github Page settings (#22) 2017-10-31 14:44:18 +01:00
CNAME add CNAME 2014-07-07 16:22:37 -04:00
Gemfile Update Github Page settings (#22) 2017-10-31 14:44:18 +01:00
Gemfile.lock Update dependencies to the latest (#45) 2018-02-14 18:00:34 +01:00
README Update Github Page settings (#22) 2017-10-31 14:44:18 +01:00
_config.yml Code Coverage blog post by Marco (#51) 2018-03-23 12:19:42 +01:00
feed.xml Fix Issue #24: wrong template name in feed.xml 2017-11-28 15:40:42 +01:00
index.html Port our modern Frontierline theme to Jekymm :D (#46) 2018-03-19 22:46:40 +01:00

README

Test Release Blog Locally
===========

The release blog runs on Jekyll. Jekyll is a Ruby framework, therefore the Ruby language should be installed on your OS.

Jekyll is often packaged by Linux distributions so the following instructions should work in most cases:

```bash
$ sudo apt install jekyll
$ git clone the repo
$ jekyll serve
$ Go to http://localhost:4000
```

However, if you do not want to install a Web framework and all of its dependencies at the OS level, you can install Jekyll, Bundler (Ruby dependency manager) and all of the  dependencies (gems) in the project itself.

First edit your ```~/.bashrc``` file and add the following lines:
```bash
# Find locally installed Ruby apps
if which ruby >/dev/null && which gem >/dev/null; then
    PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi
```

Then open a new terminal or reload your configuration in an existing terminal:
```bash
source ~/.bashrc
```
The installation process for the blog on Ubuntu/Debian is:

```bash
$ sudo apt install ruby-full
$ sudo apt install zlib1g-dev # Dependency requirement for the nokogiri gem
$ git clone https://github.com/mozilla/release-blog.git
$ cd release-blog
$ gem install bundler --user-install
$ bundle install --path vendor/bundle
$ bundle exec jekyll serve
$ Go to http://localhost:4000
```

Flags
===========

$ --no-watch  (Do not watch for changes)
$ --watch (Make changes on the fly)
$ --trace (For debug)