Project documention for the 2020 W3C website redesign project hosted on https://w3c.studio24.net/
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on staging and prod environments.
- Live - https://w3c.studio24.net/
- Staging - http://w3c.studio24.dev/
- Local development - http://localhost:4000
The production site is cached via Cloudflare.
Make sure you have Ruby, Bundler and Jekyll installed, see instructions for Mac.
In project folder, run:
bundle install
bundle exec jekyll serve
View site at http://localhost:4000
To build and serve the site via http://localhost:4000
bundle exec jekyll serve
Only deploy master branch to prod.
dep deploy production
Please note this deploy process uses Jekyll settings in _config_staging.yml
, which override those in _config.yml
dep deploy staging
dep deploy staging --branch=develop
The website uses the Just the Docs theme and Kramdown markdown formatting.
Templates are loaded first from the local _layouts
folder, next from the parent templates located in the theme. You can find the theme location bia:
bundle info --path just-the-docs