Skip to content

Blog posts by release management both automated and human

Notifications You must be signed in to change notification settings

suriyaa/release-blog

 
 

Repository files navigation

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)

About

Blog posts by release management both automated and human

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 47.9%
  • HTML 28.0%
  • Ruby 16.2%
  • Shell 6.7%
  • Hack 1.2%