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.
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).
To deploy the site, you will need gsutil
and to authenticate with gcloud auth login
.
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 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.