Blog posts by release management both automated and human
Перейти к файлу
Pascal Chevrel 7a7e5e7937 Dependencies update 2024-11-05 11:17:40 +01:00
_layouts Code Coverage blog post by Marco (#51) 2018-03-23 12:19:42 +01:00
_posts jekyll doesn't like html in blog post titles 2022-11-18 17:01:28 +01:00
images Cross-post Marco's article about code coverage on Phabricator 2019-01-21 15:08:48 +01:00
scripts dependencies update 2021-01-05 13:38:57 +01:00
stylesheets Issue #5: Add a pagination system to our template + fixes (#39) 2018-01-15 18:41:17 +01:00
themes dependencies update 2021-01-05 13:38:57 +01:00
.gitignore Ignore .jekyll-metadata 2022-10-24 12:01:28 +02:00
CNAME add CNAME 2014-07-07 16:22:37 -04:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file (#60) 2019-03-29 08:18:24 +01:00
Gemfile Fix an issue with newer Ruby version, see https://talk.jekyllrb.com/t/load-error-cannot-load-such-file-webrick/5417/14 2022-10-21 16:27:39 +02:00
Gemfile.lock Dependencies update 2024-11-05 11:17:40 +01:00
README.md Dependencies update + README update on dependencies installation 2022-04-12 14:14:51 +02:00
_config.yml Update release cadence 2020-12-10 18:03:38 +01: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

⚠️ WARNING:

This Repository is in maintenance mode, issues are disabled and we don't take pull requests.

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 config set path 'vendor/bundle'
$ bundle install
$ bundle exec jekyll serve
$ Go to http://localhost:4000

You may need to set up a personal token from GitHub even when running locally.

Flags

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