Blog posts by release management both automated and human
Перейти к файлу
Pascal Chevrel 37d59b5f31
Html template typo (#57)
fix typo in html template that makes our page not html compliant
2019-01-21 14:01:00 +01:00
_layouts Code Coverage blog post by Marco (#51) 2018-03-23 12:19:42 +01:00
_posts new uplift form (#55) 2018-10-03 15:16:28 +02:00
images new uplift form (#55) 2018-10-03 15:16:28 +02: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 (#56) 2019-01-21 13:55:29 +01:00
README.md README should be README.md to have content parsed as Markdown 2018-10-03 12:37:32 +02:00
_config.yml new uplift form (#55) 2018-10-03 15:16:28 +02:00
feed.xml Fix Issue #24: wrong template name in feed.xml 2017-11-28 15:40:42 +01:00
index.html Html template typo (#57) 2019-01-21 14:01:00 +01:00

README.md

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:

$ 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:

# 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:

source ~/.bashrc

The installation process for the blog on Ubuntu/Debian is:

$ 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)