Skip to content

Deploying demo center website on your local machine

Mathew Biddle edited this page Aug 13, 2021 · 3 revisions

DEPRECATED

As of 2021-08-31 we are no longer using jekyll for the site. Please see Build JupyterBook locally for current instructions.

Requirements:

  1. Clone the notebooks_demo repository.

    git clone https://github.com/ioos/notebooks_demos.git

  2. In the webpage directory there is a reference to the ioos_jekyll_theme. However, in your clone of notebooks_demo that directory is empty. So, you will need to populate the ioos_jekyll_theme directory with the contents from ioos_jekyll_theme.

    git clone https://github.com/ioos/ioos_jekyll_theme.git

    cp -r ioos_jekyll_theme/ notebooks_demos/webpage/ioos_jekyll_theme/

  3. Run jekyll in notebooks_demos/webpage

    jekyll serve --config _config.yml,_config_dev.yml --watch --verbose --incremental

    • Note this still has issues with the code gallery page. It only returns an index.
  • For more information on deploying the ioos_jekyll_theme locally, see this documentation.
Clone this wiki locally