Downloads
Clone or download a zip of the current [CBS-beta project site on Github].
Browsing CBS-beta offline
-
Requirements:
Ruby: 2.6.5 (Ruby 2.7.0 works, but emits tedious warnings about deprecated code)
Jekyll: 3.8.7 or 4.x ([jekyll-remote-theme] supports use of Jekyll 4 on GitHub Pages)
-
Run the following command in a terminal from the root directory of the project:
bundle install bundle exec jekyll serve --no-watch --port 4000 --host localhost-
The
no-watchoption suppresses spurious error reports fromlistenaboutdirectory is already being watched, but also disables automatic building when page sources change. -
The
portandhostoptions default to the values shown above.
-
-
Open a web browser at
http://localhost:4000/CBS-beta/(the final/is required)
Stop the local server with Control-C when no longer needed.
Color schemes
When browsing these web pages on GitHub, the color scheme can be toggled between a light and a dark scheme, independently of the system/browser preference.
To make the color scheme for local browsing dependent on the system/browser preference,
set toggle_auto_mode: true in _config.yml and restart jekyll serve.
The colors used for CBS highlighting in the light and dark schemes can be adjusted
by editing the SCSS files in _sass/custom.