/bazel-website

Website for Bazel, a fast, scalable, multi-language and extensible build system

Primary LanguageHTMLApache License 2.0Apache-2.0

Bazel website https://bazel.build

This repository hosts the content of the Bazel website, available at https://bazel.build/ It does not contain the Bazel documentation or the Bazel blog.

Prerequisites

To build the site, you will need Jekyll version 2.5.3 or above. For instance, it can be installed with apt-get install jekyll on recent Ubuntu (tested on 16.10).

sudo apt-get install jekyll ruby-jekyll-paginate ruby-jekyll-sitemap ruby-jekyll-toc ruby-kramdown-parser-gfm

To deploy the site, you will need gsutil and to authenticate with gcloud auth login.

Running the website locally

To stage the site

bazel run //:site

If you want to show the preview to others

HOST=$(hostname) bazel run //:site

See the Jekyll site if you need more info.

Deploying the website

Deploying the website is done automatically through Google Cloud Container Builder. If for some reason it does not work, you can run bazel run //:site -- --push to deploy manually.