Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.17 KB

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.